Memory system for predicting power of sequential command operations and method of operating the same
By analyzing and adjusting the command operation section in the memory system, efficient power management of multiple commands is achieved, solving the problem of unpredictable power consumption in the existing technology, and improving system efficiency and stability.
Patent Information
- Application Number
- CN202010827961.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-05
- Filing Date
- 2020-08-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-08-17
AI Technical Summary
Existing memory systems struggle to accurately predict power consumption when processing multiple commands, resulting in inefficiencies and thermal throttling issues.
A memory system is designed to calculate the single power and overlapping power by analyzing the operating section in the command, adjusting the operating time point to minimize the total power, and overlap as much as possible without exceeding the predetermined peak power limit. operations for efficient command execution.
Accurate power prediction and management of multiple commands is achieved, improving the efficiency of the memory system and avoiding thermal throttling and power over-limit issues.
Smart Images

Figure CN113360336B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Korean Patent Application No. 10-2020-0027701, filed on March 5, 2020, which is hereby incorporated by reference in its entirety. Technical Field
[0003] Various embodiments relate to a memory system, and more particularly, to a memory system including a plurality of memory devices and an operating method thereof Background Art
[0004] Recently, the computer environment paradigm has shifted to ubiquitous computing, which enables access to computer systems virtually anywhere, anytime. As a result, the use of portable electronic devices such as mobile phones, digital cameras, laptop computers, etc. has increased. Such portable electronic devices typically use or include a memory system, i.e., a data storage device, which uses or is embedded with at least one memory device. The data storage device can be used as a primary storage device or an auxiliary storage device of the portable electronic device.
[0005] In a computing device, a data storage device using a nonvolatile semiconductor memory device has advantages over a hard disk in that the data storage device has excellent stability and durability because it does not have a mechanical driving component (e.g., a mechanical arm), and has a high data access speed and low power consumption. Examples of such data storage devices include a universal serial bus (USB) memory device, a memory card having various interfaces, and a solid-state drive (SSD). Summary of the invention
[0006] Various embodiments are directed to a memory system capable of accurately predicting power required to execute two or more commands when the two or more commands are sequentially transmitted to any one selected memory device among a plurality of memory devices included in the memory system.
[0007] In an embodiment, a memory system may include: a memory device including a plurality of memory dies; and a controller configured to perform: when a first command and a second command are sequentially transmitted to any one selected memory die among the plurality of memory dies, analyzing the first command and the second command, the analyzing the first command and the second command including: identifying a first operation and a third operation of the first command and a second operation and a fourth operation of the second command, wherein the first operation and the second operation cannot be performed when operation segments of the first operation and the second operation overlap with each other, wherein the third operation can be performed when the operation segment of the third operation overlaps with the operation segment of the second operation, and wherein the operation segment of the fourth operation overlaps with the operation segment of the first operation A fourth operation can be performed when operation segments of an operation overlap; a single power expected to be used in one or more single operation segments is calculated, in which only any one corresponding operation among the first to fourth operations is performed; an overlapping power expected to be used in one or more overlapping operation segments is calculated, in which corresponding multiple operations among the first to fourth operations are performed when overlapping each other; a total power expected to be used when executing a first command and a second command in a selected memory die is calculated by adding the single power and the overlapping power according to operation time points of the first to fourth operations; and a peak power is calculated according to the maximum value of the power expected to be used in the one or more overlapping operation segments, respectively.
[0008] The controller may adjust operation time points of the first to fourth operations such that the total power is minimized while maintaining the peak power at a value less than a predetermined reference value.
[0009] Calculating the overlapping power may include: determining values of multiple preset weights based on types of the first command and the second command and the type of the selected memory die; calculating the operating current by applying the preset weights to two or more currents corresponding to two or more operations respectively performed when overlapping each other in an overlapping operating segment; and calculating the overlapping power by predicting the operating current to be used in the overlapping operating segment.
[0010] When the first command is a first write command for storing first data in a selected memory die, and the second command is a second write command for storing second data in the selected memory die, the controller: may identify an operation of transferring the first data to the selected memory die as a first operation, and predict that the first operation will be performed during a first segment; identify an operation of the selected memory die physically storing the first data in the selected memory die after the first segment as a third operation, and predict that the third operation will be performed during a second segment; identify an operation of transferring the second data to the selected memory die after the first segment as a second operation, and predict that the second operation will be performed during a third segment overlapping with the second segment; and identify an operation of the selected memory die physically storing the second data in the selected memory die after the second and third segments as a fourth operation, and predict that the fourth operation will be performed during a fourth segment.
[0011] The controller can calculate the single power by adding the first part of the power, the second part of the power and the third part of the power, obtain the first part of the power by predicting that the first current corresponding to the first operation will be used in the first segment, obtain the second part of the power by predicting that the third current corresponding to the third operation will be used in the part of the second segment that does not overlap with the third segment, and obtain the third part of the power by predicting that the fourth current corresponding to the fourth operation will be used in the fourth segment, calculate the first operation current by performing operations on the third current and the second current corresponding to the second operation, and calculate the peak power by predicting that the first operation current will be used in the third segment.
[0012] The controller may calculate the first operating current by adding a current obtained by multiplying the second current by the first weight and a current obtained by multiplying the third current by the second weight.
[0013] When the first command is a first read command for reading third data from a selected memory die and the second command is a second read command for reading fourth data from the selected memory die, the controller: may identify an operation in which the selected memory die physically reads the third data in the selected memory die as a third operation, and predict that the third operation will be performed during a fifth segment; may identify an operation in which the third data is received from the selected memory die after the fifth segment as a first operation, and predict that the first operation will be performed during a sixth segment; may identify an operation in which the selected memory die physically reads the fourth data in the selected memory die after the start of the third operation as a fourth operation, and predict that the fourth operation will be performed during a seventh segment overlapping with at least one of the fifth and sixth segments; and may identify an operation in which the fourth data is received from the selected memory die after the sixth and seventh segments as a second operation, and predict that the second operation will be performed during an eighth segment.
[0014] The controller can calculate the single power by adding the fourth part of the power, the fifth part of the power and the sixth part of the power, obtain the fourth part of the power by predicting that the third current corresponding to the third operation will be used in the part of the fifth segment that does not overlap with the seventh segment, obtain the fifth part of the power by predicting that the first current corresponding to the first operation will be used in the part of the sixth segment that does not overlap with the seventh segment, and obtain the sixth part of the power by predicting that the second current corresponding to the second operation will be used in the eighth segment, calculate the second operating current by performing operations on the third current and the fourth current corresponding to the fourth operation, and calculate the third operating current by performing operations on the first current and the fourth current, and calculate the peak power expected to be used in the seventh segment by predicting that the second operating current will be used in the seventh segment overlapping with the fifth segment and predicting that the third operating current will be used in the seventh segment overlapping with the sixth segment.
[0015] The controller may calculate a second operating current by adding a current obtained by multiplying the third current by a third weight and a current obtained by multiplying the fourth current by a fourth weight, and may calculate a third operating current by adding a current obtained by multiplying the first current by a fifth weight and a current obtained by multiplying the fourth current by a sixth weight.
[0016] The controller includes: a command analysis unit, adapted to identify first to fourth operations by analyzing each of a first command and a second command; a power calculation unit, adapted to calculate single power, peak power and total power according to operation time points of the first to fourth operations; a weight checking unit, adapted to determine the type of the selected memory die and transmit weight information corresponding to the determination result to the power calculation unit; and an operation adjustment unit, adapted to check the result of the power calculation unit and adjust the operation time points of the first to fourth operations according to the checking result.
[0017] In an embodiment, an operating method of a memory system includes a memory device, the memory device includes a plurality of memory dies, the operating method may include: when a first command and a second command are sequentially transmitted to a selected memory die among the plurality of memory dies, analyzing the first command and the second command, the analyzing the first command and the second command including: identifying a first operation and a third operation of the first command and identifying a second operation and a fourth operation of the second command, wherein the first operation and the second operation cannot be performed when operation sections of the first operation and the second operation overlap with each other, wherein the third operation can be performed when an operation section of the third operation overlaps with an operation section of the second operation, and wherein the operation section of the fourth operation overlaps with the operation section of the fourth operation. The invention relates to a method for realizing a memory chip according to the present invention, wherein the memory chip is capable of executing a fourth operation when the operation segment overlaps with the operation segment of the first operation; and calculating a single power expected to be used in one or more single operation segments, in which only any one corresponding operation of the first to fourth operations is performed; calculating an overlapping power expected to be used in one or more overlapping operation segments, in which corresponding multiple operations of the first to fourth operations are performed when overlapping each other; calculating a total power expected to be used when executing the first command and the second command in the selected memory die by adding the single power and the overlapping power according to the operation time points of the first to fourth operations; and calculating a peak power according to the maximum value of the power expected to be used in the one or more overlapping operation segments, respectively.
[0018] The operating method may further include an adjusting step of adjusting the operating time points of the first to fourth operations so that the total power is minimized while keeping the peak power calculated in the calculating step at a value less than a predetermined reference value.
[0019] Calculating the overlapping power may include: determining values of multiple preset weights based on types of the first command and the second command and the type of the selected memory die; calculating the operating current by applying the preset weights to two or more currents corresponding to two or more operations respectively performed when overlapping each other in an overlapping operating segment; and calculating the overlapping power by predicting the operating current to be used in the overlapping operating segment.
[0020] The operating method may further include: when the first command is a first write command for storing the first data in the selected memory die, and the second command is a second write command for storing the second data in the selected memory die, identifying the operation of transferring the first data to the selected memory die as a first operation, and predicting that the first operation will be performed during the first segment; identifying the operation of the selected memory die physically storing the first data in the selected memory die after the first segment as a third operation, and predicting that the third operation will be performed during the second segment; identifying the operation of transferring the second data to the selected memory die after the first segment as a second operation, and predicting that the second operation will be performed during a third segment overlapping with the second segment; and identifying the operation of the selected memory die physically storing the second data in the selected memory die after the second and third segments as a fourth operation, and predicting that the fourth operation will be performed during the fourth segment.
[0021] The operating method may further include: calculating a single power by adding a first part of the power, a second part of the power, and a third part of the power, obtaining the first part of the power by predicting that a first current corresponding to a first operation will be used in the first segment, obtaining the second part of the power by predicting that a third current corresponding to a third operation will be used in a portion of the second segment that does not overlap with the third segment, and obtaining the third part of the power by predicting that a fourth current corresponding to a fourth operation will be used in the fourth segment; calculating the first operating current by performing operations on the third current and the second current corresponding to the second operation; and calculating the peak power by predicting that the first operating current will be used in the third segment.
[0022] Calculating the first operating current may be performed by adding a current obtained by multiplying the second current by the first weight and a current obtained by multiplying the third current by the second weight.
[0023] The operating method may further include: when the first command is a first read command for reading third data from the selected memory die and the second command is a second read command for reading fourth data from the selected memory die: identifying an operation of the selected memory die physically reading the third data in the selected memory die as a third operation, and predicting that the third operation will be performed during the fifth segment; identifying an operation of receiving the third data from the selected memory die after the fifth segment as a first operation, and predicting that the first operation will be performed during the sixth segment; identifying an operation of the selected memory die physically reading the fourth data in the selected memory die after the start of the third operation as a fourth operation, and predicting that the fourth operation will be performed during a seventh segment overlapping with at least one of the fifth and sixth segments; and identifying an operation of receiving the fourth data from the selected memory die after the sixth and seventh segments as a second operation, and predicting that the second operation will be performed during the eighth segment.
[0024] The operating method may further include: calculating a single power by adding the fourth part of the power, the fifth part of the power and the sixth part of the power, obtaining the fourth part of the power by predicting that a third current corresponding to the third operation will be used in a part of the fifth segment that does not overlap with the seventh segment, obtaining the fifth part of the power by predicting that a first current corresponding to the first operation will be used in a part of the sixth segment that does not overlap with the seventh segment, and obtaining the sixth part of the power by predicting that a second current corresponding to the second operation will be used in the eighth segment; calculating the second operating current by performing operations on the third current and a fourth current corresponding to the fourth operation, and calculating the third operating current by performing operations on the first current and the fourth current; and calculating the peak power expected to be used in the seventh segment by predicting that the second operating current will be used in the seventh segment overlapping with the fifth segment and predicting that the third operating current will be used in the seventh segment overlapping with the sixth segment.
[0025] The operating method may further include: calculating a second operating current by adding a current obtained by multiplying the third current by a third weight and a current obtained by multiplying the fourth current by a fourth weight, and calculating a third operating current by adding a current obtained by multiplying the first current by a fifth weight and a current obtained by multiplying the fourth current by a sixth weight.
[0026] According to the present embodiment, when two or more commands are sequentially transmitted to any one selected memory device among a plurality of memory devices included in the memory system, the memory system can analyze the operations included in each of the two or more commands assumed to be transmitted, identify operations that can be performed when their operation segments overlap with each other and operations that cannot be performed when their operation segments overlap with each other, independently calculate the power required for the identified operations, and add the calculated powers, thereby accurately predicting the power required to execute the two or more commands. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A data processing system including a memory system according to an embodiment is shown.
[0028] Figure 2 A memory device included in the memory system according to the present embodiment is shown.
[0029] Figure 3 A controller within a memory system according to an embodiment is shown.
[0030] Figure 4 A memory interface (I / F) included in a controller within a memory system according to an embodiment is shown.
[0031] Figure 5 A first operation of a controller on a plurality of sequential commands according to an embodiment is shown.
[0032] Figure 6 A second operation of the controller on a plurality of sequential commands according to an embodiment is shown.
[0033] Figure 7 A third operation of the controller on a plurality of sequential commands according to an embodiment is shown.
[0034] Figure 8 A fourth operation of the controller on a plurality of sequential commands according to an embodiment is shown.
[0035] Fig. 9 A fifth operation of the controller according to an embodiment is shown for a plurality of sequential commands having times adjusted according to a maximum peak power. DETAILED DESCRIPTION
[0036] The various examples of the present disclosure are described in more detail below with reference to the accompanying drawings. However, aspects and features of the present invention can be implemented in different ways to form other embodiments, including variations of any disclosed embodiment. Therefore, the present invention should not be interpreted as being limited to the embodiments set forth herein. On the contrary, the described embodiments are provided so that the present disclosure is thorough and complete, and the present disclosure is fully conveyed to those skilled in the art to which the present invention belongs. Throughout the present disclosure, the same figure numerals always represent the same parts in the various figures and examples of the present disclosure. It is noted that references to "embodiment", "another embodiment" etc. are not necessarily intended to be only one embodiment, and different references to any such phrases are not necessarily directed to the same embodiment.
[0037] It will be understood that although the terms "first", "second", "third", etc. may be used herein to identify various elements, these elements are not limited by these terms. These terms are used to distinguish one element from another element with the same or similar name. Therefore, without departing from the spirit and scope of the present invention, a first element in one example may be referred to as a second element or a third element in another example.
[0038] The drawings are not necessarily drawn to scale, and in some cases, the proportions may have been exaggerated in order to clearly illustrate the features of the embodiments. When an element is referred to as being connected to or coupled to another element, it is understood that the former may be directly connected to or coupled to the latter, or electrically connected to or coupled to the latter via one or more intermediate elements therebetween. In addition, it will also be understood that when an element is referred to as being "between" two elements, it may be the only element between the two elements, or one or more intermediate elements may also be present.
[0039] The purpose of using the terminology herein is only to describe specific embodiments and is not intended to limit the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form, and vice versa. Similarly, unless it is clear from the language or context that it is intended to mean one, the terms "a" and "an" mean one or more.
[0040] It will be further understood that when the terms "include", "comprising", "including" and "comprising" are used in this specification, the presence of the stated elements is specified, but the presence or addition of one or more other elements is not excluded. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0041] Unless otherwise defined, all terms used herein, including technical and scientific terms, have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be understood to have meanings consistent with their meanings in the context of the present disclosure and the relevant art, and are not interpreted in an idealized or overly formal sense, unless explicitly defined as such herein.
[0042] In the following description, in order to provide a comprehensive understanding of the present invention, many specific details are set forth. The present invention may be implemented without some or all of these specific details. In other cases, in order not to make the present invention unnecessarily obscure, well-known process structures and / or processes are not described in detail.
[0043] It should also be noted that in some cases, features or elements described in connection with one embodiment may be used alone or in combination with other features or elements of another embodiment, as would be apparent to one skilled in the relevant art, unless specifically stated otherwise.
[0044] Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings, wherein like reference numerals represent like elements.
[0045] Figure 1 is a diagram illustrating a data processing system 100 including a memory system 110 according to an embodiment.
[0046] Figure 2 is a diagram showing an example of the memory device 150 included in the memory system 110 according to the present embodiment.
[0047] Data processing system 100 may include a host 102 coupled or operably connected to a memory system 110 .
[0048] For example, the host 102 may include any of various portable electronic devices such as a mobile phone, an MP3 player, and a laptop computer, or an electronic device such as a desktop computer, a game console, a television (TV), and a projector.
[0049] The host 102 also includes at least one operating system (OS), which can generally manage and control functions and operations performed in the host 102. The OS can provide interoperability between the host 102 and the user of the memory system 110 that is connected to the memory system 110. The OS can support functions and operations corresponding to user requests. As an example and not a limitation, according to the mobility of the host 102, the OS may include a general-purpose operating system and a mobile operating system. According to system requirements or user environments, general-purpose operating systems can be divided into personal operating systems and enterprise operating systems. Personal operating systems including Windows and Chrome can support services for general purposes. Enterprise operating systems can be specifically used to ensure and support higher performance, including Windows servers, Linux and Unix. Further, mobile operating systems may include Android, iOS and Windows mobile. Mobile operating systems may support services or functions for mobility (e.g., power saving functions). The host 102 may include multiple operating systems. Corresponding to user requests, the host 102 may cooperate with the memory system 110 to run multiple operating systems. The host 102 may transmit multiple commands corresponding to user requests to the memory system 110, thereby performing operations corresponding to the commands in the memory system 110.
[0050] The memory system 110 may perform a specific function or operation in response to a request from the host 102, and in particular, may store data to be accessed by the host 102. The memory system 110 may be used as a main memory system or an auxiliary memory system of the host 102. According to the protocol of the host interface, the memory system 110 may be implemented using any of various types of storage devices that may be electrically coupled to the host 102. Non-limiting examples of suitable storage devices include a solid state drive (SSD), a multimedia card (MMC), an embedded MMC (eMMC), a reduced size MMC (RS-MMC), a micro MMC, a secure digital (SD) card, a mini SD, a micro SD, a universal serial bus (USB) storage device, a universal flash memory (UFS) device, a compact flash (CF) card, a smart media (SM) card, and a memory stick.
[0051] The storage devices of the memory system 110 may be implemented using volatile memory devices such as dynamic random access memory (DRAM) or static RAM (SRAM), and / or may be implemented using non-volatile memory devices such as read-only memory (ROM), mask ROM (MROM), programmable ROM (PROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), ferroelectric RAM (FRAM), phase change RAM (PRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM or ReRAM), and flash memory.
[0052] Reference Figure 1 and Figure 2 , the memory system 110 may include a memory device 150 for storing data accessed by the host 102 and a controller 130 for controlling storage of the data in the memory device 150 .
[0053] The memory system 110 may be integrated into a single semiconductor device, which may be included in any of the various types of memory systems exemplified above.
[0054] As an example and not limitation, the memory system 110 may be integrated into a single semiconductor device. The memory system 110 may be integrated to form an SSD, thereby increasing the operating speed. When the memory system 110 is used as an SSD, the operating speed of the host 102 connected to the memory system 110 may be increased compared to the host 102 connected to the hard disk. In another embodiment, the memory system 110 may be integrated into a semiconductor device to form a memory card, such as a PC card (PCMCIA), a compact flash card (CF), a smart media card (e.g., SM, SMC), a memory stick, a multimedia card (e.g., MMC, RS-MMC, micro MMC), a secure digital (SD) card (e.g., SD, mini SD, micro SD, SDHC) or a universal flash memory.
[0055] The memory system 110 may be configured as, for example, a part of a computer, an ultra mobile PC (UMPC), a workstation, a netbook, a personal digital assistant (PDA), a portable computer, a web tablet, a tablet computer, a wireless phone, a mobile phone, a smart phone, an e-book, a portable multimedia player (PMP), a portable game console, a navigation system, a black box, a digital camera, a digital multimedia broadcasting (DMB) player, a three-dimensional (3D) television, a smart TV, a digital audio recorder, a digital audio player, a digital photo recorder, a digital photo player, a digital video recorder, a digital video player, a storage device configuring a data center, a device capable of sending and receiving information in a wireless environment, one of various electronic devices configuring a home network, one of various electronic devices configuring a computer network, one of various electronic devices configuring a telematics network, a radio frequency identification (RFID) device, or one of various components configuring a computing system.
[0056] Reference Figure 1 and Figure 2The memory device 150 in the memory system 110 may be a nonvolatile memory device capable of retaining stored data even when power is not supplied, such as a flash memory device. Therefore, the memory device 150 may store data provided from the host 102 as nonvolatile data through a write operation, and provide the stored data to the host 102 through a read operation.
[0057] More specifically, the memory device 150 may include a plurality of memory dies 1500, 1501, 1502, and 1503. Each of the memory dies 1500 to 1503 may include a plurality of planes, such as planes PLANE00 and PLANE01 included in the memory die 1500 and planes PLANE10 and PLANE11 included in the memory die 1501. In addition, each of the planes may include a plurality of memory blocks; for example, plane PLANE00 may include BLOCK000, BLOCK001, and BLOCK002, plane PLANE01 may include BLOCK010, BLOCK011, and BLOCK012, plane PLANE10 may include BLOCK100, BLOCK101, and BLOCK102, and plane PLANE11 may include BLOCK110, BLOCK111, and BLOCK112. In an embodiment, a block in a plane may correspond to a block commonly connected to a group of bit lines corresponding to the plane. In addition, each of the memory blocks BLOCK000 to BLOCK112 may include a respective plurality of pages P0 to P4. Each of the pages P0 to P4 may include a plurality of memory cells (not shown).
[0058] For reference, Figure 1 The memory system 110 is shown to include one memory device 150, but the embodiment is not limited thereto, and the memory system 110 may include various numbers of memory devices 150, for example, two or four memory devices. Figure 1 One memory device 150 is shown to include four memory dies 1500 to 1503 , but embodiments are not limited thereto and the memory device 150 may include various numbers of memory dies, for example, two or eight memory dies. Figure 2 It is shown that one memory die includes two planes, but the embodiment is not limited thereto, and one memory die may include various numbers of planes, for example, four or eight planes. In addition, Figure 2 It is shown that one plane includes three memory blocks, but the embodiment is not limited thereto, and one plane may include various numbers of memory blocks, for example, more than three memory blocks. Figure 2 It is illustrated that one memory block includes five pages, but the embodiment is not limited thereto, and one memory block may include various numbers of pages, for example, more than five pages.
[0059] A plurality of memory dies 1500 to 1503 included in the memory device 150 may be coupled to the controller 130 through a plurality of channels CH0 to CH3. For example, the zeroth memory die 1500 may be coupled to the controller 130 through the zeroth channel CH0, the first memory die 1501 may be coupled to the controller 130 through the first channel CH1, the second memory die 1502 may be coupled to the controller 130 through the second channel CH2, and the third memory die 1503 may be coupled to the controller 130 through the third channel CH3.
[0060] For reference, Figure 2 Four memory dies 1500 to 1503 are shown coupled to the controller 130 via four channels CH0 to CH3. However, the number of memory dies is not always equal to the number of channels, and in embodiments, various numbers of memory dies, for example, two or four memory dies may be coupled to one channel. That is, the number of memory dies and channels within the memory device 150 may vary depending on the intended use and performance requirements of the memory system 110.
[0061] When each of the memory dies 1500 to 1503 includes a plurality of planes and one memory die is coupled to one channel, each of the planes may be coupled to the channel through a via. Figure 2 , two planes PLANE00 and PLANE01 included in the zeroth memory die 1500 may be coupled to the zeroth channel CH0 through the zeroth via WAY0 and the first via WAY1, respectively. Similarly, two planes PLANE10 and PLANE11 included in the first memory die 1501 may be coupled to the first channel CH1 through the second via WAY2 and the third via WAY3, respectively.
[0062] For reference, Figure 2 It is shown that because two planes are included in one memory die, two vias are coupled to one channel. However, the embodiment is not limited thereto, and the number of vias coupled to one channel may be determined according to how many planes are coupled to one channel.
[0063] The plurality of memory dies 1500 to 1503 included in the memory device 150 may be considered as modules different from each other, and are coupled to the controller 130 through a plurality of data paths such as a plurality of channels CH0 to CH3 that are different from each other. When the plurality of memory dies 1500 to 1503 and the controller 130 exchange data through the plurality of data paths, this may indicate that data is exchanged between the plurality of memory dies 1500 to 1503 and the controller 130 through an interleaving operation. When data is exchanged through an interleaving operation using a plurality of data paths, a data transfer rate may be higher than a data transfer rate when data is exchanged through one data path.
[0064] Re-reference Figure 1 , the controller 130 of the memory system 110 controls the memory device 150 in response to a request from the host 102. For example, the controller 130 provides the host 102 with data read from the memory device 150, and stores the data provided from the host 102 in the memory device 150. For this operation, the controller 130 controls a read operation, a write operation, a program operation, and an erase operation of the memory device 150.
[0065] The controller 130 may include a host interface (I / F) 132 , a processor 134 , an ECC (Error Correction Code) unit 138 , a memory interface (I / F) 142 , and a memory 144 .
[0066] The host interface 132 in the controller 130 may process commands and data provided from the host 102, and may communicate with the host 102 through at least one of various interface protocols such as Universal Serial Bus (USB), Multimedia Card (MMC), Peripheral Component Interconnect-Express (PCI-e or PCIe), Small Computer System Interface (SCSI), Serial SCSI (SAS), Serial Advanced Technology Attachment (SATA), Parallel Advanced Technology Attachment (PATA), Enhanced Small Disk Interface (ESDI), and Integrated Drive Electronics (IDE). According to an embodiment, the host interface 132 is a component that exchanges data with the host 102, and the host interface 132 may be implemented by firmware called a host interface layer (HIL).
[0067] The ECC unit 138 may correct the error bits of the data to be processed in the memory device 150 (e.g., output from the memory device 150), and the ECC unit 138 may include an ECC encoder and an ECC decoder. Here, the ECC encoder may perform error correction encoding on the data to be programmed in the memory device 150 to generate encoded data with parity bits added, and store the encoded data in the memory device 150. When the controller 130 reads the data stored in the memory device 150, the ECC decoder may detect and correct errors contained in the data read from the memory device 150. In other words, after performing error correction decoding on the data read from the memory device 150, the ECC unit 138 may determine whether the error correction decoding is successful and output an indication signal (e.g., a correction success signal or a correction failure signal). The ECC unit 138 may use the parity bits generated during the ECC encoding process to correct the error bits of the read data. When the number of error bits is greater than or equal to the threshold number of correctable error bits, the ECC unit 138 may not correct the error bits, but may output an error correction failure signal indicating that the error bits have failed to be corrected.
[0068] The ECC unit 138 may perform error correction operations based on coded modulation such as low density parity check (LDPC) codes, Bose-Chaudhuri-Hocquenghem (BCH) codes, turbo codes, Reed-Solomon (RS) codes, convolutional codes, recursive systematic codes (RSC), trellis coded modulation (TCM), or block coded modulation (BCM). The ECC unit 138 may include any and all circuits, modules, systems, or devices that perform error correction operations based on at least one of the above codes.
[0069] The memory interface 142 may be used as an interface for handling commands and data transmitted between the controller 130 and the memory device 150 to allow the controller 130 to control the memory device 150 in response to a request transferred from the host 102. In the case when the memory device 150 is a flash memory, particularly when the memory device 150 is a NAND flash memory, the memory interface 142 may generate a control signal for the memory device 150 under the control of the processor 134, and may process data input into or output from the memory device 150. The memory interface 142 may provide an interface for handling commands and data between the controller 130 and the memory device 150, such as operations of a NAND flash memory interface, particularly operations between the controller 130 and the memory device 150. According to an embodiment, the memory interface 142 may be implemented as a component for exchanging data with the memory device 150 by firmware referred to as a flash interface layer (FIL).
[0070] The memory 144 may support operations performed by the memory system 110 and the controller 130. The memory 144 may store temporary data or transaction data generated or transferred for operations in the memory system 110 and the controller 130. The controller 130 may control the memory device 150 in response to a request from the host 102. The controller 130 may transfer data read from the memory device 150 to the host 102. The controller 130 may store data input through the host 102 in the memory device 150. The memory 144 may be used to store data required for the controller 130 and the memory device 150 to perform operations such as read operations or program / write operations.
[0071] As described above, the memory 144 may store data for performing operations such as data writing and data reading requested by the host 102 and / or data transferred between the memory device 150 and the controller 130 for background operations such as garbage collection and wear leveling. According to an embodiment, in order to support operations in the memory system 110, the memory 144 may include a program memory, a data memory, a write buffer / cache, a read buffer / cache, a data buffer / cache, and a mapping buffer / cache.
[0072] The memory 144 may be implemented as a volatile memory. For example, the memory 144 may be implemented as an SRAM (static random access memory) or a DRAM (dynamic random access memory). Figure 1 As shown, the memory 144 may exist inside or outside the controller 130. When the memory 144 exists outside the controller 130, data may be input / output to / from the controller 130 through a separate memory interface (not shown).
[0073] The processor 134 may be implemented using a microprocessor or a central processing unit (CPU). The memory system 110 may include one or more processors 134. The processor 134 may control the overall operation of the memory system 110. As an example and not limitation, the processor 134 may control a programming operation or a read operation to the memory device 150 in response to a write request or a read request input from the host 102. According to an embodiment, the processor 134 may use or execute firmware to control the overall operation of the memory system 110. In this article, the firmware may be a flash translation layer (FTL). The FTL may be used as an interface between the host 102 and the memory device 150. The host 102 may transmit a request for a write operation and a read operation to the memory device 150 through the FTL.
[0074] The FTL can manage operations such as address mapping, garbage collection, wear leveling, etc. In particular, the FTL can load, generate, update, or store mapping data. Therefore, the controller 130 can map the logical address input from the host 102 with the physical address of the memory device 150 through the mapping data. The address mapping operation allows the memory device 150 to be used as a universal storage device for performing read or write operations. By using the address mapping operation based on the mapping data, when the controller 130 updates the data stored in a specific page, according to the characteristics of the flash memory device, the controller 130 can program the updated data to another empty page, and can invalidate the old data of the specific page (for example, the physical address corresponding to the logical address of the updated data is updated from the specific page to the newly programmed page). Further, the controller 130 can store the mapping data of the new data in the FTL.
[0075] For example, when an operation requested from the host 102 is performed in the memory device 150, the controller 130 uses the processor 134. The processor 134 coupled to the memory device 150 may handle a command operation corresponding to a command input from the host 102. The controller 130 may perform a foreground operation as a command operation corresponding to a command from the host 102, such as a program operation corresponding to a write command, a read operation corresponding to a read command, an erase / discard operation corresponding to an erase / discard command, and a parameter setting operation corresponding to a set parameter command or a set feature command having a set command.
[0076] For another example, the controller 130 may use the processor 134 to perform background operations on the memory device 150. As an example and not a limitation, the background operation of the memory device 150 includes copying data in a memory block among the plurality of memory blocks BLOCK000 to BLOCK112, and storing the data in another memory block (e.g., a garbage collection (GC) operation). The background operation may include an operation of moving data stored in at least one memory block among the plurality of memory blocks BLOCK000 to BLOCK112 in the memory device 150 to at least another memory block among the plurality of memory blocks BLOCK000 to BLOCK112 (e.g., a wear leveling (WL) operation). During the background operation, the controller 130 may use the processor 134 to store the mapping data stored in the controller 130 in at least one of the plurality of memory blocks BLOCK000 to BLOCK112, such as a mapping flush operation. A bad block management operation of checking for bad blocks among the plurality of memory blocks BLOCK000 to BLOCK112 is another example of a background operation that may be performed by the processor 134.
[0077] A management unit (not shown) may be included in the processor 134. The management unit may perform bad block management of the memory device 150. The management unit may find a bad memory block that is not in a condition to be further used, and perform bad block management on the bad memory block. When the memory device 150 is a flash memory such as a NAND flash memory, a programming failure may occur during a write operation, such as during a programming operation, due to the characteristics of the NAND logic function. During the bad block management, data in a memory block that failed to program or a bad memory block may be programmed into a new memory block. The bad block may seriously degrade the utilization efficiency of the memory device 150 having a 3D stacking structure and the reliability of the memory system 110. Therefore, reliable bad block management may enhance or improve the performance of the memory system 110.
[0078] Figure 3 is a diagram illustrating the controller 130 within the memory system 110 according to an embodiment.
[0079] Reference Figure 3 , the memory system 110 may include a memory device 150 for storing data accessed by the host 102 and a controller 130 for controlling storage of data in the memory device 150. The controller 130 may include a host interface 132, an FTL (Flash Translation Layer) 40, a memory interface 142, and a memory 144.
[0080] Although not in Figure 3 However, according to the embodiment, reference Figure 1 The described ECC 138 may be included in the FTL 40. At this time, the ECC 138 may be implemented as a separate module, circuit, or firmware within the controller 130 according to an embodiment.
[0081] The host interface 132 is used to handle commands and data from the host 102. By way of example and not limitation, the host interface 132 may include a command queue 56, a buffer manager 52, and an event queue 54. The command queue 56 may sequentially store commands and data from the host 102, and output the commands and data to the buffer manager 52 in the stored order. The buffer manager 52 may classify, manage, or adjust the commands and data transferred from the command queue 56. The event queue 54 may sequentially transmit events for processing commands and data from the buffer manager 52.
[0082] Multiple commands or data of the same characteristics may be received from the host 102 continuously, or commands and data of different characteristics may be transmitted to the memory system 110 after being mixed or shuffled. For example, multiple commands for reading data (i.e., read commands) may be transmitted to the memory system 110 continuously, or read commands and program / write commands may be transmitted to the memory system 110 alternately. The host interface 132 may sequentially store the commands and data received from the host 102 to the command queue 56. Thereafter, the host interface 132 may estimate or predict, for each command, what type of (multiple) internal operations the controller 130 will perform based on the characteristics of the commands (and any accompanying data) received from the host 102. The host interface 132 may determine the processing order and priority of the commands and data based at least on the characteristics of the commands and data. Based on the characteristics of the commands and data received from the host 102, the buffer manager 52 in the host interface 132 is configured to determine whether the buffer manager 52 should store the commands and data in the memory 144, or whether the buffer manager 52 should transmit the commands and data to the flash translation layer (FTL) unit 40. Event queue 54 receives events input from buffer manager 52 to be internally executed and processed by memory system 110 or controller 130 in response to commands and data from host 102 to deliver the events to flash translation layer (FTL) unit 40 in the order received.
[0083] According to an embodiment, the flash translation layer (FTL) unit 40 may include a state manager (GC / WL / RR) 42, a mapping manager (MM) 44, a host request manager (HRM) 46, and a block manager (BM / BBM) 48. The host request manager 46 may manage events input from the event queue 54. The mapping manager 44 may handle or control mapping data, such as logical to physical (L2P) address mapping data. The state manager 42 may perform garbage collection (GC) or wear leveling (WL) or read reclamation (RR). The block manager 48 may execute commands or instructions on blocks in the memory device 150.
[0084] By way of example and not limitation, the host request manager 46 may use the mapping manager 44 and the block manager 48 to handle or process requests according to read and program commands, and to handle events delivered from the host interface 132. The host request manager 46 may send a query request to the mapping data manager 44 to determine a physical address corresponding to a logical address input together with an event. The host request manager 46 may send a read request together with the physical address to the memory interface 142 to process the read request (handle the event). On the other hand, the host request manager 46 may send a program request (or a write request) to the block manager 48 to program the input data to an empty page (i.e., a page without data) in the memory device 150, and then may transmit a mapping update request corresponding to the program request to the mapping data manager 44 to update items related to the program data in the information on mapping the logical address and the physical address to each other.
[0085] Here, the block manager 48 may convert the program request transmitted from the host request manager 46, the mapping data manager 44, and / or the status manager 42 into a flash memory program request of the memory device 150 to manage the flash memory blocks in the memory device 150. In order to maximize or improve the programming or writing performance of the memory system 110, the block manager 48 may collect the program requests and send the flash memory program requests for multi-plane and single-shot programming operations to the memory interface 142. The block manager 48 may send several flash memory program requests to the memory interface 142 to improve or maximize the parallel processing of the multi-channel flash memory controller.
[0086] The block manager 48 may be configured to manage the blocks in the memory device 150 according to the number of valid pages, select and erase the blocks without valid pages when a free block is needed, and select the blocks including the least number of valid pages when it is determined that garbage collection is needed. The state manager 42 may perform garbage collection to move valid data to the empty blocks and erase the remaining data in the blocks from which the valid data is moved, so that the block manager 48 may have enough free blocks (i.e., empty blocks without data). If the block manager 48 provides information about the blocks to be erased to the state manager 42, the state manager 42 may check all flash memory pages in the blocks to be erased to determine whether each page is valid. For example, to determine the validity of each page, the state manager 42 may identify the logical address stored in the out-of-band (OOB) area of each page. To determine whether each page is valid, the state manager 42 may compare the physical address of the page with the physical address mapped to the logical address obtained from the request. The state manager 42 sends a program request to the block manager 48 for each valid page. When the programming operation is completed, the mapping table may be updated by updating the mapping manager 44.
[0087] The mapping manager 44 may manage a logical-to-physical mapping table. The mapping manager 44 may process requests such as queries and updates generated by the host request manager 46 or the state manager 42. The mapping manager 44 may store the entire mapping table in the memory device 150 (e.g., flash memory / non-volatile memory) and cache mapping entries according to the storage capacity of the memory 144. When a mapping cache miss occurs when processing a query or update request, the mapping manager 44 may send a read request to the memory interface 142 to load the relevant portion of the mapping table stored in the memory device 150. When the number of dirty cache blocks in the mapping manager 44 exceeds a certain threshold, a program request may be sent to the block manager 48, thereby forming a clean cache block and the dirty mapping table may be stored in the memory device 150.
[0088] When garbage collection is performed, the state manager 42 copies the valid page to the free block, and the host request manager 46 can program the latest version data of the page of the same logical address and issue an update request immediately. When the state manager 42 requests a mapping update in a state where the copy of the valid page has not been completed, the mapping manager 44 may not perform a mapping table update. This is because if the state manager 42 requests a mapping update and the valid page copy is not completed until later, a mapping request with old physical information is issued. To ensure accuracy, the mapping manager 44 can perform a mapping update operation as long as the latest mapping table still points to the old physical address.
[0089] The read or write command transmitted from the FTL 40 to the memory interface 142 may be a command of a minimum read unit or a minimum write unit that can be executed in the memory device 150. At this time, the minimum read unit or the minimum write unit may indicate a minimum size of data that can be read from or written into the memory device 150 by one read or write operation. Therefore, the minimum read unit or the minimum write unit may have different values according to the type of the memory device 150. For example, when the memory device 150 is a NAND flash memory device, the minimum read unit or the minimum write unit may correspond to a page.
[0090] The memory device 150 may include a plurality of memory blocks. Each of the plurality of memory blocks may be a single-layer cell (SLC) memory block or a multi-layer cell (MLC) memory block, depending on the number of bits that can be stored or represented in one memory cell of such a block. Here, the SLC memory block includes a plurality of pages implemented by each memory cell storing one bit of data. The SLC memory block may have high data I / O operation performance and high durability. The MLC memory block includes a plurality of pages implemented by each memory cell storing multi-bit data (e.g., two or more bits of data). For the same space, the MLC memory block may have a larger storage capacity than the SLC memory block. In terms of storage capacity, the MLC memory block may be highly integrated. In an embodiment, the memory device 150 may be implemented using an MLC memory block such as a double-layer cell memory block, a triple-layer cell (TLC) memory block, a quad-layer cell (QLC) memory block, or a combination thereof. The double-layer cell memory block may include a plurality of pages implemented by each memory cell capable of storing 2 bits of data. The triple-layer cell (TLC) memory block may include a plurality of pages implemented by each memory cell capable of storing 3 bits of data. A quad-level cell (QLC) memory block may include multiple pages implemented by memory cells each capable of storing 4 bits of data. In another embodiment, memory device 150 may be implemented using a block including multiple pages implemented by memory cells each capable of storing 5 or more bits of data.
[0091] In an embodiment of the present disclosure, the memory device 150 is implemented as a non-volatile memory, for example, a flash memory such as a NAND flash memory, a NOR flash memory, etc. In another embodiment, the memory device 150 may be implemented by at least one of a phase change random access memory (PCRAM), a ferroelectric random access memory (FRAM), and a spin injection magnetic memory (e.g., a spin transfer torque magnetic random access memory (STT-MRAM)).
[0092] Figure 4 is a diagram illustrating a memory interface included in a controller within a memory system according to an embodiment.
[0093] Reference Figure 4 , the memory system 110 may include a memory device 150 for storing data accessed by the host 102 and a controller 130 for controlling the storage of data in the memory device 150, similar to the reference Figure 3 The controller 130 may include a host interface 132, an FTL 40, a memory interface 142, and a memory 144, similar to the memory system 110 described in reference to FIG. Figure 3 The controller 130 described above. The memory device 150 may include multiple memory dies, similar to those described with reference to Figure 1 and Figure 2The memory interface 142 may include a command analysis unit 1421, a power calculation unit 1422, a weight check unit 1423, and an operation control unit 1424. When the memory interface 142 is implemented using FIL, the command analysis unit 1421, the power calculation unit 1422, the weight check unit 1423, and the operation control unit 1424 may be implemented by processors that execute respective parts of the FIL, respectively.
[0094] For reference, refer to Figure 4 The description of most of the components 132, 40, 144, and 150 included in the described memory system 110 has been included in reference Figures 1 to 3 Therefore, the following reference Figure 4 The description will focus on the unreferenced Figures 1 to 3 The operation of memory interface 142 is described in detail.
[0095] Reference Figure 4 , when the controller 130 sequentially receives a first command and a second command, wherein both the first command and the second command perform operations on the same memory die selected from among the plurality of memory dies 1500 to 1503, the controller 130 may analyze the first command and the second command and identify a first operation of the first command and a second operation of the second command that cannot be performed in operation sections that overlap with each other. In other words, when a first operation of the first command and a second operation of the second command are to be performed in the selected memory die, the controller 130 may pre-identify an operation section of the first operation of the first command and an operation section of the second operation of the second command that cannot overlap with each other before performing the first and second operations in the selected memory die.
[0096] The controller 130 may also identify a third operation of the first command executable in an operation section overlapping with an operation section of the second operation of the second command, and identify a fourth operation of the second command executable in an operation section overlapping with an operation section of the first operation of the first command.
[0097] In other words, when the second operation of the second command and the third operation of the first command are to be executed in the selected memory die, the controller 130 may identify an operation segment of the third operation of the first command and an operation segment of the second operation of the second command that may overlap with each other before executing the third and second operations in the selected memory die. Similarly, when the first operation of the first command and the fourth operation of the second command are to be executed in the selected memory die, the controller 130 may identify an operation segment of the first operation of the first command and an operation segment of the fourth operation of the second command that may overlap with each other before executing the first and fourth operations in the selected memory die.
[0098] In this example, because the first operation and the third operation included in the first command are operations included in one command, the first operation and the third operation cannot be performed when overlapping each other. Similarly, because the second operation and the fourth operation included in the second command are also operations included in one command, the second operation and the fourth operation cannot be performed when overlapping each other.
[0099] As described above, when two different commands are sequentially executed in one memory die selected from among the plurality of memory dies 1500 to 1503, the commands may be executed while overlapping each other (at least partially), or may not be executed while overlapping each other. This is because a command operation executed in one memory die in response to one command may actually include multiple sub-operations. Some of the multiple specific sub-operations included in a specific command operation corresponding to a specific command may not be executed while overlapping with a sub-operation included in another command operation, but other specific sub-operations may be executed while overlapping with a sub-operation included in another command operation.
[0100] For example, as referenced Figure 3 As described above, even when the read or write command transmitted from the FTL 40 in the controller 130 to the memory interface 142 may be a command of the minimum read unit or the minimum write unit that can be executed in the memory device 150, the read operation or the write operation performed in the memory device 150 in response to the read or write command may also include multiple sub-operations.
[0101] For example, a read operation performed in any one of the memory dies included in the memory device 150 when the controller 130 transmits a read command to the memory die may include a first sub-operation and a second sub-operation. The first sub-operation may include physically reading data from a memory cell corresponding to an address included in the read command, and storing the read data in a specific buffer within the memory die, such as a page buffer included in each of a plurality of storage blocks included in the memory die, and the second sub-operation may include outputting the read data stored in the specific buffer within the memory die as a result of the first sub-operation to the controller 130 through a data transfer path, such as a channel connected to the memory die. In this way, when the read operation corresponding to the read command is divided into two sub-operations, a plurality of blocks included in the memory die may perform the first sub-operation in parallel with each other. Therefore, a plurality of first sub-operations corresponding to a plurality of read commands may be performed while overlapping each other. However, the second sub-operation cannot be performed simultaneously through a channel used as a data transfer path between the memory die and the controller 130. Therefore, a plurality of second sub-operations corresponding to a plurality of read commands cannot be executed while overlapping with each other (but may be executed while overlapping with, for example, a first sub-operation of a different read command).
[0102] For another example, a write operation performed in any memory die included in the memory device 150 when the controller 130 transmits a write command to the memory die may include a first sub-operation and a second sub-operation. The first sub-operation may include storing the write data input from the controller 130 in a specific buffer within the memory die through a data transmission path, such as a channel connected to the memory die regarding the write command, the specific buffer is, for example, a page buffer included in each of a plurality of blocks included in the memory die, and the second sub-operation may include physically writing the write data stored in the specific buffer within the memory die as a result of the first sub-operation to a memory cell corresponding to the address included in the write command. In this way, when the write operation corresponding to the write command is divided into two sub-operations, the first sub-operation cannot be performed simultaneously through the channel used as the data transmission path between the memory die and the controller 130. Therefore, a plurality of first sub-operations corresponding to a plurality of write commands cannot be performed when overlapping each other. However, a plurality of blocks included in the memory die may perform the second sub-operation in parallel with each other. Thus, multiple second sub-operations corresponding to multiple write commands may be executed while overlapping each other (and, may be executed while overlapping with, for example, first sub-operations of different write commands).
[0103] For reference, the above configuration including two sub-operations in the read operation and two sub-operations in the write operation is merely an embodiment. In practice, each of the read and write operations may include a greater number of sub-operations.
[0104] In an embodiment, the controller 130 is configured to accurately predict the total power and peak power that will be used when the selected memory die performs operations corresponding to multiple consecutive commands (such as the first and second commands described above) by calculating the total power and peak power before performing the operations corresponding to the multiple consecutive commands on the selected memory die.
[0105] Embodiments enable smaller differences between the total and peak powers calculated and predicted by the controller 130 and the total and peak powers actually used in the selected memory die, which enables the memory system 110 including the selected memory die to operate more efficiently.
[0106] That is, in order to stably and quickly process the multiple commands stored in the internal command queue, the controller 130 needs to schedule the commands before processing the multiple commands. Specifically, the controller 130 needs to determine which command is transmitted to a certain memory die among the multiple memory dies 1500 to 1503 included in the memory device 150 at a certain point in time. In an embodiment, the controller 130 may schedule the order of executing the multiple commands and the time point of executing the multiple commands based on the total power and peak power pre-calculated and predicted under the assumption that the multiple commands are executed according to the scheduling order. When there is a significant difference between the total power and peak power pre-calculated and predicted under the assumption that the multiple commands are executed according to the scheduling order and the total power and peak power used when the multiple commands are actually executed in the multiple memory dies according to the scheduling order, the performance of the memory system 110 may be degraded due to, for example, the following reasons: exceeding the peak power limit due to underestimation of the peak power, resulting in thermal throttling or memory device shutdown, or failing to schedule as many commands as possible to be executed simultaneously due to overestimation of the total power and / or peak power, thereby failing to utilize the efficiency that can be obtained by executing commands simultaneously.
[0107] In particular, when two or more commands are sequentially executed in any one of the plurality of memory dies 1500 to 1503, for example, when a first command and a second command are sequentially executed in the selected memory die as described above, the magnitude of the total power and the peak power predicted by simply adding the power required to execute the first command and the power required to execute the second command may be much greater than the magnitude of the total power and the peak power used when the first command and the second command are actually executed in the selected memory device. This is because a command operation executed in one memory die in response to one command may include multiple sub-operations, and depending on the types of the first command and the second command, the sub-operations included in the first command and the second command and their overlapping operation sections may be significantly different from each other. Therefore, the power used when the first command and the second command are run together may be significantly different from the power predicted by simply summing the powers when the commands are executed separately.
[0108] Therefore, in order to accurately predict in advance the total power and peak power that will be used when performing operations corresponding to the first command and the second command in the selected memory die before transmitting the first command and the second command to the selected memory die, the controller 130 may operate as shown in the following example.
[0109] First, when the first command and the second command are sequentially transmitted to the selected memory die among the plurality of memory dies 1500 to 1503 as described above, the controller 130 may identify the first and third operations included in the first command and the second and fourth operations included in the second command. In this example, the operation segments of the first operation of the first command and the second operation of the second command (i.e., the time periods in which these operations are respectively performed) cannot overlap with each other, the operation segments of the third operation of the first command and the second operation of the second command may overlap with each other, and the operation segments of the first operation of the first command and the fourth operation of the second command may overlap with each other. In addition, the operation segments of the first operation and the third operation included in the first command cannot overlap with each other, and the operation segments of the second operation and the fourth operation included in the second command cannot overlap with each other.
[0110] The controller 130 may calculate a single power expected to be used in a single operation section, wherein only any one of the first to fourth operations included in each of the first and second commands may be executed in the single operation section. In addition, the controller 130 may calculate a peak power expected to be used in an overlapping operation section, wherein two or more operations of the first to fourth operations may be executed while overlapping each other in the overlapping operation section. In addition, the controller 130 may calculate the total power expected to be used when the first and second commands are executed in the selected memory die by adding the single power and the peak power according to the operation time points of the first to fourth operations. At this time, the controller 130 may adjust the operation time points (e.g., the start time) of the first to fourth operations so that the total power is minimized while keeping the peak power at a value less than a predetermined reference value (such as a peak power limit). For example, in an embodiment, the overlapping operation uses the same or less total power than the total power that would be used when the operation is performed without overlap, and the controller 130 may adjust the operation time points so that as many operations as possible overlap without exceeding the peak power at a predetermined reference value.
[0111] The controller 130 may adjust the method for calculating the peak power according to the types of the first and second commands and the type of the selected memory die. That is, the controller 130 may calculate the operating current by applying a "preset weight" to two or more currents corresponding to two or more operations performed when overlapping each other in the overlapping operation section, and then calculate the peak power by predicting the operating current to be used in the overlapping operation section, and using the predicted operating current to predict the peak power used in the overlapping operation section. In an embodiment, the value of the "preset weight" may be determined according to the types of the first and second commands and the type of the selected memory die.
[0112] For example, when the selected memory die is a NAND flash memory die, the first command and the second command are read commands, and the operation segment of the first operation included in the first command and the operation segment of the fourth operation included in the second command partially overlap with each other to cause an overlapping operation segment, in the overlapping operation segment, the controller 130 may apply a weight of "1" to the current corresponding to the first operation included in the first command, and apply a weight of 0.5 to the current corresponding to the fourth operation included in the second command. For example, when a plurality of operations are performed simultaneously, the weight applied to the current corresponding to the fourth operation may be less than 1 when the operating current consumed due to supporting circuits in the memory die does not increase, or does not increase in proportion to the number of operations being performed simultaneously.
[0113] As another example, when the selected memory die is a NAND flash memory die, the first command and the second command are write commands, and an operation segment of a third operation included in the first command and an operation segment of a second operation included in the second command partially overlap with each other to cause an overlapping operation segment, in the overlapping operation segment, the controller 130 may apply a weight of "1" to a current corresponding to the third operation included in the first command, and also apply a weight of "1" to a current corresponding to the second operation included in the second command.
[0114] The value of the "preset weight" may be predetermined in the form of information stored in a specific location within the controller 130. That is, the value of the "preset weight" corresponding to the type of the first command and the second command and the type of the selected memory die may be directly loaded from a specific space within the controller 130. For example, a specific space within the controller 130 may indicate a location where firmware is stored. When firmware is loaded during the process of booting the memory system 110, the value of the "preset weight" may be loaded together.
[0115] For reference, "power" can be calculated by multiplying "voltage", "current" and "time". In addition, it has been assumed that the first to fourth operations included in the first command and the second command are all executed in the selected memory die, where the selected memory die is physically one device. In the example provided, it can be assumed that the power supply voltage provided to the selected memory die does not change, and maintains a constant level at least when the first command and the second command are executed in the selected memory die. Therefore, it can be considered that the "voltage" used as a variable for calculating "power" is always constant. In addition, the "time" used as a variable for calculating "power" may indicate the length of the operation segment. In an embodiment, the total power may correspond to the integral of the power used in the time required to execute one or more commands (that is, the amount of energy used to execute the command) and may be expressed in joules, while the peak power may correspond to the maximum value of the total power consumed at any time during the execution of the command, and may be expressed in watts.
[0116] In addition, when the first command and the second command are referred to as being "sequentially transmitted" to the selected memory die in this document, this may indicate that the difference between the time point at which the first command is transmitted to the selected memory die and the time point at which the second command is transmitted to the selected memory die is greater than the minimum time interval and less than the maximum time interval. That is, because the selected memory die is physically one memory die, two different commands, namely the first command and the second command, cannot be transmitted to the selected memory die at the same time point, thereby determining the minimum time interval. In addition, when the second command is transmitted to the selected memory die after the first command is transmitted to the selected memory die, at a time point at which the operation of the first command is almost completed or thereafter, there may be no opportunity to schedule the operations of the first command and the second command to overlap, and thus the first command and the second command may not be considered to be transmitted to the selected memory die sequentially. Therefore, the maximum time interval may be determined.
[0117] More specifically, the command analysis unit 1421 included in the memory interface 142 included in the controller 130 may analyze the commands transmitted from the FTL 40, and identify one or more operations included in each command. That is, the command analysis unit 1421 may select the first command and the second command assumed to be sequentially transmitted to the selected memory die among the plurality of commands transmitted from the FTL 40, and then may analyze the selected first command and the second command and identify, for example, the first to fourth operations. In the example, the operation segments of the first operation of the first command and the second operation of the second command identified by the command analysis unit 1421 cannot overlap with each other, the operation segments of the third operation of the first command and the second operation of the second command may overlap with each other, and the operation segments of the first operation of the first command and the fourth operation of the second command may overlap with each other, and further, the operation segments of the first operation and the third operation included in the first command cannot overlap with each other, and the operation segments of the second operation and the fourth operation included in the second command cannot overlap with each other. Although the example herein describes the command analysis unit 1421 as identifying two operations in each analyzed command, the embodiment is not limited thereto. In an embodiment, the command analysis unit 1421 may identify one or more operations in each command, and the number of operations identified for each command may vary depending on the type of command and the data associated with the command.
[0118] The power calculation unit 1422 included in the memory interface 142 can calculate the single power, peak power, and total power according to the operation time points of the first to fourth operations identified by the command analysis unit 1421 by analyzing the first command and the second command. That is, the power calculation unit 1422 can calculate the single power expected to be used in a single operation section, wherein only any one of the first to fourth operations can be performed in the single operation section. In addition, the power calculation unit 1422 can calculate the peak power expected to be used in an overlapping operation section, wherein two or more operations of the first to fourth operations can be performed while overlapping each other in the overlapping operation section. In addition, the power calculation unit 1422 can calculate the total power expected to be used when the first command and the second command are executed in the selected memory die by integrating the single power and the peak power according to the operation time points of the first to fourth operations. For example, for each operation section, the power calculation unit 1422 may determine the operation current in each operation section, and determine the total power to be equal to Σ(Ii·Vi·Ti), i=1...n, where n is the number of operation sections, Ii is the operation current during operation section i, Vi is the power supply voltage during operation section i (in an embodiment, Vi may be the same for each operation section), and Ti is the duration of operation section i. However, embodiments are not limited thereto.
[0119] The power calculation unit 1422 may adjust the method for calculating the peak power according to the type of the first command and the second command and the type of the selected memory die. That is, the controller 130 may calculate the operating current by applying the "preset weight" to two or more currents corresponding to two or more operations performed when overlapping each other in the overlapping operation section among the first to fourth operations included in the first command and the second command, and then calculate the peak power by predicting the operating current to be used in the overlapping operation section. At this time, the value of the "preset weight" may be determined by referring to the weight information transmitted by the weight checking unit 1423.
[0120] The operation control unit 1424 included in the memory interface 142 may check the result of the power calculation unit 1422, and adjust the operation time points of the first to fourth operations according to the check result. That is, the operation control unit 1424 may check the result of the power calculation unit 1422, and adjust the operation time points of the first to fourth operations included in the first command and the second command according to the check result, so that when the first command and the second command are executed in the selected memory die, the total power is minimized in a state where the peak power is maintained at a value less than a predetermined reference value. For example, the operation control unit 1424 may check the peak power determined by the power calculation unit 1422 according to the first set of operation time points, may determine whether the peak power exceeds the reference value, and in response to the peak power exceeding the reference value, may modify the first set of operation time points to generate a second set of operation time points, and then the second set of operation time points may be used by the power calculation unit 1422 to generate new peak power and total power results, and the above process may be repeated at this point.
[0121] The weight checking unit 1423 may check the types of the first and second commands and the type of the selected memory die, and transmit weight information corresponding to the inspection result to the power calculation unit 1422. For example, when it is checked that the selected memory die is a NAND flash memory die and the first and second commands are read commands, the weight checking unit 1423 may transmit weight information to the power calculation unit 1422, the weight information indicating that in an overlapping operation section where the first operation and the fourth operation overlap each other, a weight of "1" needs to be applied to a current corresponding to the first operation included in the first command, and a weight of "0.5" needs to be applied to a current corresponding to the fourth operation included in the second command.
[0122] Figure 5 is a diagram for describing a first operation of a controller for a plurality of sequential commands.
[0123] Figure 5 1500 to 1503, as shown in FIG. 1510 , when the first command is a first write command PGM_A for storing first data in the selected memory die and the second command is a second write command PGM_B for storing second data in the selected memory die, when the first command and the second command are sequentially transmitted to the selected memory die among the plurality of memory dies 1500 to 1503, as shown in FIG. Figures 1 to 4 As described above, the controller 130 calculates the single power P1, the overlapping power P2, the peak power (not shown) and the total power TOTAL_PW.
[0124] Specifically, it can be assumed that the controller 130 will start the write operation at time point A in response to the first write command PGM_A, and will start the write operation at time point C in response to the second write command PGM_B. That is, the controller 130 transmits the first write command PGM_A to the selected memory die, and then transmits the second write command PGM_B to the selected memory die.
[0125] In this example, the first write command PGM_A may include a first operation 1ST_OP in which the controller 130 transmits the first data to the selected memory die, and a third operation 3RD_OP in which the selected memory die physically stores the first data in the selected memory die. Therefore, the controller 130 may analyze the first write command PGM_A and recognize that the first operation 1ST_OP and the third operation 3RD_OP are included in the write command PGM_A.
[0126] The controller 130 may analyze the first write command PGM_A and determine that the first operation 1ST_OP and the third operation 3RD_OP need to be sequentially performed in a manner that their operation segments do not overlap with each other. At this time, the controller 130 may predict that the first operation 1ST_OP of the first write command PGM_A will be performed in the first segment 1ST_SECT, that is, the segment between time points A and B. In addition, the controller 130 may predict that the third operation 3RD_OP of the first write command PGM_A will be performed in the second segment 2ND_SECT after the first segment 1ST_SECT, that is, the segment between time points B and E.
[0127] The second write command PGM_B may include a second operation 2ND_OP in which the controller 130 transmits the second data to the selected memory die and a fourth operation 4TH_OP in which the selected memory die physically stores the second data in the selected memory die. Therefore, the controller 130 may analyze the second write command PGM_B and recognize that the second operation 2ND_OP and the fourth operation 4TH_OP are included in the second write command PGM_B.
[0128] The controller 130 may analyze the second write command PGM_B, and determine that the second operation 2ND_OP and the fourth operation 4TH_OP need to be performed sequentially in a manner that their operation segments do not overlap with each other. Moreover, the controller 130 may determine that the second operation 2ND_OP needs to be performed after the end point of the first operation 1ST_OP, without overlapping with the first operation 1ST_OP. Moreover, the controller 130 may determine that the second operation 2ND_OP may be performed after the end point of the first operation 1ST_OP, while overlapping with the third operation 3RD_OP. Because the third operation 3RD_OP is included in the first write command PGM_A, and the fourth operation 4TH_OP is included in the second write command PGM_B, that is, included in two write commands sequentially executed in one memory die, the controller 130 may determine that the third operation 3RD_OP and the fourth operation 4TH_OP need to be performed in a manner that their operation segments do not overlap with each other. Therefore, the controller 130 can predict that the second operation 2ND_OP of the second write command PGM_B will be executed in the third segment 3RD_SECT overlapping with the second segment 2ND_SECT after the first segment 1ST_SECT, that is, in the segment between time points C and D, and can predict that the fourth operation 4TH_OP of the second write command PGM_B will be executed in the fourth segment 4TH_SECT after the second segment 2ND_SECT and the third segment 3RD_SECT, that is, in the segment between time points E and F.
[0129] As described above, the controller 130 can identify the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP, and 4TH_OP included in the first write command PGM_A and the second write command PGM_B assumed to be sequentially transmitted to the selected memory tube core. In addition, the controller 130 can predict the operation segments corresponding to the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP, and 4TH_OP included in the first write command PGM_A and the second write command PGM_B, that is, the first to fourth segments 1ST_SECT, 2ND_SECT, 3RD_SECT, and 4TH_SECT.
[0130] Therefore, the controller 130 may identify one or more single operation sections in which only corresponding operations among the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP, and 4TH_OP are performed, and calculate the single power P1. In addition, the controller 130 may identify one or more overlapping operation sections in which corresponding two or more operations among the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP, and 4TH_OP are performed while overlapping each other, and calculate the overlapping power P2. The controller 130 may determine the total power TOTAL_PW as the sum of the single power P1 and the overlapping power P2, and may determine the peak power as the respective maximum instantaneous power in all operation sections.
[0131] Specifically, since the controller 130 has predicted that only the first operation 1ST_OP will be performed in the first segment 1ST_SECT, the controller 130 can calculate the first partial power PP1 by predicting that the first current 100mA corresponding to the first operation 1ST_OP will be used in the first segment 1ST_SECT. In addition, since the controller 130 has predicted that the second segment 2ND_SECT has a partial segment EXSECT that does not overlap with the third segment 3RD_SECT, and only the third operation 3RD_OP will be performed in the partial segment EXSECT, the controller 130 can calculate the second partial powers PP2 and PP3 by predicting that the third current 100mA corresponding to the third operation 3RD_OP will be used in each partial segment EXSECT. In addition, since the controller 130 has predicted that only the fourth operation 4TH_OP will be performed in the fourth segment 4TH_SECT, the controller 130 can calculate the third partial power PP4 by predicting that the fourth current 100mA corresponding to the fourth operation 4TH_OP will be used in the fourth segment 4TH_SECT. Then, the controller 130 may calculate the single power P1 expected to be used in the single operation section by adding the first partial power PP1 , the second partial powers PP2 and PP3 , and the third partial power PP4 .
[0132] Since the controller 130 has predicted that the third section 3RD_SECT overlaps the second section 2ND_SECT, and the second operation 2ND_OP and the third operation 3RD_OP will be performed in the third section 3RD_SECT while overlapping each other, the controller 130 can calculate the first operating current 200mA by performing an operation on the third current 100mA corresponding to the third operation 3RD_OP and the second current 100mA corresponding to the second operation 2ND_OP, and calculate the overlapping power P2 expected to be used in the overlapping operation section by predicting that the first operating current 200mA will be used in the third section 3RD_SECT. The controller 130 can calculate the first operating current 200mA by adding the current 100mA obtained by multiplying the first weight "1" by the second current 100mA and the current 100mA obtained by multiplying the second weight "1" by the third current 100mA. The reason why the controller 130 decides the first weight to be "1" and decides the second weight to be "1" is that since it is assumed that the selected memory die is a NAND flash memory die, the second operation 2ND_OP is included in the second write command PGM_B, and the third operation 3RD_OP is included in the first write command PGM_A.
[0133] The controller 130 may calculate the total power TOTAL_PW expected to be used to execute the first write command PGM_A and the second write command PGM_B in the selected memory die by adding the single power P1 and the overlap power P2. The controller 130 may calculate the peak power as the maximum instantaneous power occurring during any segment.
[0134] Figure 6 is a diagram for describing a second operation of the controller in response to a plurality of sequential commands.
[0135] Figure 6 1500 to 1503 and the second command is a second read command RD_B for reading fourth data from the selected memory die. When the first command and the second command are sequentially transmitted to the selected memory die, as shown in FIG. Figures 1 to 4 As described above, the controller 130 calculates the single power P1, the overlapping power P2, the peak power (not shown) and the total power TOTAL_PW.
[0136] Specifically, it may be assumed that the controller 130 will start the read operation at time point G in response to the first read command RD_A, and will start the read operation at time point H in response to the second read command RD_B. That is, the controller 130 may transmit the first read command RD_A to the selected memory die, and then transmit the second read command RD_B to the selected memory die.
[0137] The first read command RD_A may include a third operation 3RD_OP in which the selected memory die physically reads the third data therein and a first operation 1ST_OP in which the selected memory die transmits the third data to the controller 130. Therefore, the controller 130 may analyze the first read command RD_A and recognize the first operation 1ST_OP and the third operation 3RD_OP.
[0138] The controller 130 may analyze the first read command RD_A and determine that the third operation 3RD_OP and the first operation 1ST_OP need to be sequentially performed, while the operation segments of the third operation 3RD_OP and the first operation 1ST_OP do not overlap each other. At this time, the controller 130 may predict that the third operation 3RD_OP of the first read command RD_A will be performed during the fifth segment 5TH_SECT, that is, during the segment between time points G and I. In addition, the controller 130 may predict that the first operation 1ST_OP of the first read command RD_A will be performed during the sixth segment 6TH_SECT after the fifth segment 5TH_SECT, that is, during the segment between time points I and K.
[0139] The second read command RD_B may include a fourth operation 4TH_OP in which the selected memory die physically reads fourth data therein and a second operation 2ND_OP in which the selected memory die transmits the fourth data to the controller 130. Therefore, the controller 130 may analyze the second read command RD_B and recognize the second operation 2ND_OP and the fourth operation 4TH_OP.
[0140] The controller 130 may analyze the second read command RD_B, and determine that the fourth operation 4TH_OP and the second operation 2ND_OP need to be sequentially performed, while the operation segments of the fourth operation 4TH_OP and the second operation 2ND_OP do not overlap with each other. In addition, because the third operation 3RD_OP is included in the first read command RD_A, and the fourth operation 4TH_OP is included in the second read command RD_B, and the two read commands are sequentially performed in one memory die, the controller 130 may determine that the third operation 3RD_OP and the fourth operation 4TH_OP may be performed when they overlap with each other. Therefore, the controller 130 may determine that the fourth operation 4TH_OP may be performed after the starting point of the third operation 3RD_OP when the operation segment of the fourth operation 4TH_OP overlaps with the operation segment of the third operation 3RD_OP. In addition, the controller 130 may determine that the fourth operation 4TH_OP may be performed when the operation segment of the fourth operation 4TH_OP overlaps with the operation segment of the first operation 1ST_OP, wherein the operation segment of the first operation 1ST_OP starts after the end point of the third operation 3RD_OP. That is, the controller 130 may determine that the fourth operation 4TH_OP may be performed when the operation segment of the fourth operation 4TH_OP overlaps with the operation segment of the third operation 3RD_OP or the first operation 1ST_OP (or both). In addition, the controller 130 may determine that the second operation 2ND_OP needs to be performed after the end point of the first operation 1ST_OP when the operation segment of the second operation 2ND_OP does not overlap with the operation segment of the first operation 1ST_OP. Therefore, the controller 130 may predict that the fourth operation 4TH_OP of the second read command RD_B will be performed during the seventh segment 7TH_SECT, that is, during the segment between time points H and J, wherein the seventh segment 7TH_SECT overlaps with at least one of the fifth segment 5TH_SECT and the sixth segment 6TH_SECT. For reference, Figure 6 The seventh segment 7TH_SECT is shown to overlap both the fifth segment 5TH_SECT and the sixth segment 6TH_SECT, but the embodiment is not limited thereto. In another embodiment, the seventh segment 7TH_SECT may overlap only one of the fifth segment 5TH_SECT and the sixth segment 6TH_SECT. The controller 130 may predict that the second operation 2ND_OP of the second read command RD_B will be performed during the eighth segment 8TH_SECT after the sixth segment 6TH_SECT and the seventh segment 7TH_SECT, that is, during the segment between the time points K and L.
[0141] As described above, the controller 130 can identify the first, second, third and fourth operations 1ST_OP, 2ND_OP, 3RD_OP and 4TH_OP included in the first read command RD_A and the second read command RD_B that can be sequentially transmitted to the selected memory tube core. In addition, the controller 130 can predict the operation segments of the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP and 4TH_OP, that is, the fifth, sixth, seventh and eighth segments 5TH_SECT, 6TH_SECT, 7TH_SECT and 8TH_SECT.
[0142] Therefore, the controller 130 can identify one or more single operation sections in which only any one operation among the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP and 4TH_OP is performed accordingly, and calculate the single power P1 accordingly, and can identify one or more overlapping operation sections in which corresponding two or more operations among the first to fourth operations 1ST_OP, 2ND_OP, 3RD_OP and 4TH_OP are performed when overlapping with each other, and calculate the overlapping power P2 accordingly.
[0143] Specifically, because the controller 130 has predicted that the fifth segment 5TH_SECT has a first partial segment EXSECT1 that does not overlap with the seventh segment 7TH_SECT, and only the third operation 3RD_OP will be performed in the first partial segment EXSECT1, the controller 130 can calculate the fourth partial power PP5 by predicting that the third current 100mA corresponding to the third operation 3RD_OP will be used in the first partial segment EXSECT1. In addition, because the controller 130 has predicted that the sixth segment 6TH_SECT has a second partial segment EXSECT2 that does not overlap with the seventh segment 7TH_SECT, and only the first operation 1ST_OP will be performed in the second partial segment EXSECT2, the controller 130 can calculate the fifth partial power PP6 by predicting that the first current 100mA corresponding to the first operation 1ST_OP will be used in the second partial segment EXSECT2. In addition, because the controller 130 has predicted that only the second operation 2ND_OP will be performed in the eighth section 8TH_SECT, the controller 130 can calculate the sixth partial power PP7 by predicting that the second current 100mA corresponding to the second operation 2ND_OP will be used in the eighth section 8TH_SECT. Then, the controller 130 can calculate the single power P1 expected to be used in the single operation section by adding the fourth partial power PP5, the fifth partial power PP6, and the sixth partial power PP7.
[0144] Since the controller 130 has predicted that the third operation 3RD_OP and the fourth operation 4TH_OP will be performed while overlapping each other in the portion of the seventh segment 7TH_SECT overlapping with the fifth segment 5TH_SECT, that is, in the portion 7TH_SECT_A of the seventh segment 7TH_SECT, the controller 130 can calculate the second operating current 150 mA by performing an operation on the third current 100 mA corresponding to the third operation 3RD_OP and the fourth current 100 mA corresponding to the fourth operation 4TH_OP, and calculate the seventh partial power PP8 by predicting that the second operating current 150 mA will be used in the portion 7TH_SECT_A of the seventh segment 7TH_SECT. The controller 130 can calculate the second operating current 150 mA by adding the current 100 mA obtained by multiplying the third weight "1" by the third current 100 mA and the current 50 mA obtained by multiplying the fourth weight "0.5" by the fourth current 100 mA. The reason why the controller 130 decides the third weight to be "1" and decides the fourth weight to be "0.5" is that since it is assumed that the selected memory die is a NAND flash memory die, the fourth operation 4TH_OP is included in the second read command RD_B, and the third operation 3RD_OP is included in the first read command RD_A.
[0145] Since the controller 130 has predicted that the first operation 1ST_OP and the fourth operation 4TH_OP will be performed while overlapping each other in the portion of the seventh segment 7TH_SECT that overlaps with the sixth segment 6TH_SECT, that is, in another portion 7TH_SECT_B of the seventh segment 7TH_SECT, the controller 130 can calculate the third operating current 150mA by performing operations on the first current 100mA corresponding to the first operation 1ST_OP and the fourth current 100mA corresponding to the fourth operation 4TH_OP, and calculate the eighth partial power PP9 by predicting that the third operating current 150mA will be used in the portion 7TH_SECT_B of the seventh segment 7TH_SECT. The controller 130 can calculate the third operating current 150mA by adding the current 100mA obtained by multiplying the fifth weight "1" by the first current 100mA and the current 50mA obtained by multiplying the sixth weight "0.5" by the fourth current 100mA. The reason why the controller 130 decides the fifth weight to be "1" and the sixth weight to be "0.5" is that since it is assumed that the selected memory die is a NAND flash memory die, the fourth operation 4TH_OP is included in the second read command RD_B, and the first operation 1ST_OP is included in the first read command RD_A.
[0146] The controller 130 may calculate the overlapping power P2 expected to be used in the overlapping operation section by adding the seventh partial power PP8 and the eighth partial power PP9.
[0147] The controller 130 can calculate the total power TOTAL_PW expected to be used to execute the first read command RD_A and the second read command RD_B in the selected memory die by adding the single power P1 and the overlap power P2. The controller 130 can calculate the peak power (not shown) as the maximum instantaneous power occurring in the fifth segment 5TH_SEC to the eighth segment 8TH_SEC.
[0148] Figure 7 is a diagram for describing a third operation of the controller for a plurality of sequential commands.
[0149] Figure 7 The following operation is shown: When the controller 130 corresponds to the reference Figure 5 During the operation of the case where the first write command PGM_A and the second write command PGM_B are sequentially transmitted to the selected memory die, more write commands are transmitted, that is, when the first write command PGM_A, the second write command PGM_B and the third write command PGM_C are sequentially transmitted to the selected memory die, as shown in FIG. Figures 1 to 4 As described above, the controller 130 calculates the single power P1, the overlapping power P2, the peak power (not shown), and the total power TOTAL_PW.
[0150] As in Figure 5 In the example of , the first command may be a first write command PGM_A for storing first data in the selected memory die, and the second command may be a second write command PGM_B for storing second data in the selected memory die.
[0151] exist Figure 7 In the example of , the third write command PGM_C is a command for executing an operation of storing the third data in the selected memory die. At this time, depending on which write command the third write command PGM_C corresponds to between the first write command PGM_A and the second write command PGM_B, the third write command PGM_C can be considered as Figure 5 The first command or the second command.
[0152] That is, when the power of the third write command PGM_C is calculated according to the effect of the first write command PGM_A analyzed as the first command, the controller 130 may identify the sub-operations included in the third write command PGM_C assuming that the third write command PGM_C is the second command. In addition, when the power of the third write command PGM_C is calculated according to the effect of the second write command PGM_B analyzed as the second command, the controller 130 may identify the sub-operations included in the third write command PGM_C assuming that the third write command PGM_C is the first command.
[0153] Specifically, it may be assumed that the controller 130 starts the write operation at time point M in response to the first write command PGM_A, starts the write operation at time point O in response to the second write command PGM_B, and starts the write operation at time point Q in response to the third write command PGM_C. That is, the controller 130 may transmit the first write command PGM_A to the selected memory die, then transmit the second write command PGM_B to the selected memory die, and then transmit the third write command PGM_C to the selected memory die.
[0154] The first write command PGM_A may include a first operation 1ST_OP in which the controller 130 transmits the first data to the selected memory die and a third operation 3RD_OP in which the selected memory die physically stores the first data in the selected memory die. Therefore, the controller 130 may analyze the first write command PGM_A and identify the first operation 1ST_OP and the third operation 3RD_OP.
[0155] The controller 130 may analyze the first write command PGM_A and determine that the first operation 1ST_OP and the third operation 3RD_OP need to be sequentially performed in a manner that their operation segments do not overlap with each other. At this time, the controller 130 may determine that the first operation 1ST_OP of the first write command PGM_A will be performed in the first segment 1ST_SECT, that is, in the segment between time points M and N. Moreover, the controller 130 may predict that the third operation 3RD_OP of the first write command PGM_A will be performed in the second segment 2ND_SECT after the first segment 1ST_SECT, that is, in the segment between time points N and R.
[0156] The second write command PGM_B may include a second operation 2ND_OP in which the controller 130 transmits the second data to the selected memory die and a fourth operation 4TH_OP in which the selected memory die physically stores the second data in the selected memory die. The controller 130 may analyze the second write command PGM_B and identify the second operation 2ND_OP and the fourth operation 4TH_OP.
[0157] The controller 130 may analyze the second write command PGM_B, and determine that the second operation 2ND_OP and the fourth operation 4TH_OP need to be performed sequentially in a manner that their operation sections do not overlap with each other. In addition, the controller 130 may determine that the second operation 2ND_OP needs to be performed after the end point of the first operation 1ST_OP without overlapping with the first operation 1ST_OP. Moreover, the controller 130 may determine that the second operation 2ND_OP may be performed after the end point of the first operation 1ST_OP while overlapping with the third operation 3RD_OP. Because the third operation 3RD_OP is included in the first write command PGM_A, and the fourth operation 4TH_OP is included in the second write command PGM_B, that is, included in two write commands sequentially executed in one memory die, the controller 130 may determine that the third operation 3RD_OP and the fourth operation 4TH_OP need to be performed in a manner that does not overlap with each other. Therefore, the controller 130 can predict that the second operation 2ND_OP of the second write command PGM_B will be performed in the third segment 3RD_SECT overlapping the second segment 2ND_SECT after the first segment 1ST_SECT, that is, in the segment between time points O and P. Moreover, the controller 130 can predict that the fourth operation 4TH_OP of the second write command PGM_B will be performed in the fourth segment 4TH_SECT after the second segment 2ND_SECT and the third segment 3RD_SECT, that is, in the segment between time points R and T.
[0158] When the controller 130 analyzes the third write command PGM_C relative to the first write command PGM_A, it can be assumed that the first write command PGM_A is the first command and the third write command PGM_C is the second command. On the other hand, when the controller 130 analyzes the third write command PGM_C relative to the second write command PGM_B, it can be assumed that the second write command PGM_B is the second command and the third write command PGM_C is the first command.
[0159] Specifically, assuming that the first operation 1ST_OP and the third operation 3RD_OP are included in the first write command PGM_A, and operations having properties similar to those of the second operation 2ND_OP and the fourth operation 4TH_OP of the second write command PGM_B are included in the third write command PGM_C, the controller 130 may analyze the third write command PGM_C relative to the first write command PGM_A, and then determine the operational relationship between the first write command PGM_A and the third write command PGM_C accordingly.
[0160] Assuming that the second operation 2ND_OP and the fourth operation 4TH_OP are included in the second write command PGM_B, and operations having properties similar to the first operation 1ST_OP and the third operation 3RD_OP of the first write command PGM_A are included in the third write command PGM_C, the controller 130 may also analyze the third write command PGM_C relative to the second write command PGM_B, and then determine the operational relationship between the second write command PGM_B and the third write command PGM_C accordingly.
[0161] For this determination, the third write command PGM_C may be considered to include an operation referred to as a second operation or a first operation "2ND or 1ST_OP" in which the controller 130 transmits the third data to the selected memory die, and an operation referred to as a fourth operation or a third operation "4TH or 3RD_OP" in which the selected memory die physically stores the third data therein. In this case, the controller 130 may analyze the third write command PGM_C, and identify the second or first operation "2ND or 1ST_OP" and the fourth or third operation "4TH or 3RD_OP". In addition, the controller 130 may analyze the third write command PGM_C, and determine that the second or first operation "2ND or 1ST_OP" and the fourth or third operation "4TH or 3RD_OP" need to be performed sequentially in such a manner that their operation segments do not overlap with each other. In addition, the controller 130 may determine that the second or first operation "2ND or 1ST_OP" needs to be performed after the end point of the first operation 1ST_OP without overlapping with the first operation 1ST_OP. Moreover, the controller 130 may check that the second or first operation "2ND or 1ST_OP" may be performed after the end point of the first operation 1ST_OP while overlapping with the third operation 3RD_OP. Because the third operation 3RD_OP is included in the first write command PGM_A, and the fourth or third operation "4TH or 3RD_OP" is included in the third write command PGM_C, i.e., included in two write commands sequentially executed in one memory die, the controller 130 may determine that the third operation 3RD_OP and the fourth or third operation "4TH or 3RD_OP" need to be performed in a manner that their operation segments do not overlap with each other. Therefore, the controller 130 may predict that the second or first operation "2ND or 1ST_OP" of the third write command PGM_C will be performed in the fifth segment 5TH_SECT that overlaps with the second segment 2ND_SECT after the first segment 1ST_SECT, i.e., in the segment between time points Q and R. Also, the controller 130 may predict that the fourth or third operation “4TH or 3RD_OP” of the third write command PGM_C will be performed in the sixth segment 6TH_SECT after the second segment 2ND_SECT and the third segment 3RD_SECT, ie, in the segment between the time points T and U.
[0162] For the next determination, the third write command PGM_C may be considered to include a second or first operation "2ND or 1ST_OP" and a fourth or third operation "4TH or 3RD_OP", in which the controller 130 transmits the third data to the selected memory die, and in the fourth or third operation "4TH or 3RD_OP", the selected memory die physically stores the third data in the selected memory die. In this case, the controller 130 may analyze the third write command PGM_C and identify the second or first operation "2ND or 1ST_OP" and the fourth or third operation "4TH or 3RD_OP". In addition, the controller 130 may analyze the third write command PGM_C and determine that the second or first operation "2ND or 1ST_OP" and the fourth or third operation "4TH or 3RD_OP" need to be performed sequentially in such a manner that their operation segments do not overlap with each other. The controller 130 may determine that the second or first operation "2ND or 1ST_OP" needs to be performed after the end point of the second operation 2ND_OP without overlapping with the second operation 2ND_OP. Moreover, the controller 130 may check that the second or first operation "2ND or 1ST_OP" may be performed after the end point of the second operation 2ND_OP while overlapping with the fourth operation 4TH_OP. Because the fourth operation 4TH_OP is included in the second write command PGM_B, and the fourth or third operation "4TH or 3RD_OP" is included in the third write command PGM_C, i.e., included in two write commands sequentially executed in one memory die, the controller 130 may determine that the fourth operation 4TH_OP and the fourth or third operation "4TH or 3RD_OP" need to be performed in a manner that their operation segments do not overlap with each other. Therefore, the controller 130 can predict that the second or first operation "2ND or 1ST_OP" of the third write command PGM_C will be performed in the seventh segment 7TH_SECT overlapping with the fourth segment 4TH_SECT after the third segment 3RD_SECT, that is, in the segment between time points R and S. Moreover, the controller 130 can predict that the fourth or third operation "4TH or 3RD_OP" of the third write command PGM_C will be performed in the sixth segment 6TH_SECT after the seventh segment 7TH_SECT and the fourth segment 4TH_SECT, that is, in the segment between time points T and U.
[0163] For reference, in Figure 7 , the controller 130 has predicted that the second or first operation "2ND or 1ST_OP" of the third write command PGM_C will overlap with the first write command PGM_A in the fifth segment 5TH_SECT, and overlap with the second write command PGM_B in the seventh segment 7TH_SECT. That is, Figure 7It is shown that the operation segment of the second or first operation "2ND or 1ST_OP" of the third write command PGM_C overlaps with the operation segment of both the first write command PGM_A and the second write command PGM_B, but the embodiment is not limited to this. In another embodiment, the operation segment of the second or first operation "2ND or 1ST_OP" of the third write command PGM_C may overlap with the operation segment of any one of the first write command PGM_A and the second write command PGM_B.
[0164] As described above, the controller 130 may identify the first to sixth operations 1ST_OP, 2ND_OP, 3RD_OP, 4TH_OP, "2ND or 1ST_OP", and "4TH or 3RD_OP" included in the first to third write commands PGM_A to PGM_C to be sequentially transmitted to the selected memory die. In addition, the controller 130 may predict the operation segments of the first to sixth operations 1ST_OP, 2ND_OP, 3RD_OP, 4TH_OP, "2ND or 1ST_OP", and "4TH or 3RD_OP" included in the first to third write commands PGM_A to PGM_C, i.e., the first to seventh segments 1ST_SECT, 2ND_SECT, 3RD_SECT, 4TH_SECT, 5TH_SECT, 6TH_SECT, and 7TH_SECT.
[0165] Therefore, the controller 130 may identify a single operation section in which only a corresponding one of the first to sixth operations 1ST_OP, 2ND_OP, 3RD_OP, 4TH_OP, "2ND or 1ST_OP", and "4TH or 3RD_OP" included in the first to third write commands PGM_A to PGM_C is performed, and calculate the single power P1. In addition, the controller 130 may identify an overlapping operation section in which two or more of these operations are performed while overlapping each other, and calculate the overlapping power P2.
[0166] Specifically, because the controller 130 has predicted that only the first operation 1ST_OP will be performed in the first segment 1ST_SECT, the controller 130 can calculate the first partial power PP1 by predicting that the first current 100mA corresponding to the first operation 1ST_OP will be used in the first segment 1ST_SECT. Because the controller 130 has predicted that the second segment 2ND_SECT has a first partial segment EXSECT1 that does not overlap with the third segment 3RD_SECT and the sixth segment 6TH_SECT, and only the third operation 3RD_OP will be performed in the first partial segment EXSECT1, the controller 130 can calculate the second partial powers PP2 and PP3 by predicting that the third current 100mA corresponding to the third operation 3RD_OP will be used in the first partial segment EXSECT1. Since the controller 130 has predicted that the fourth segment 4TH_SECT has a second partial segment EXSECT2 that does not overlap with the seventh segment 7TH_SECT, and only the fourth operation 4TH_OP will be performed in the second partial segment EXSECT2, the controller 130 can calculate the third partial power PP4 by predicting that the fourth current 100 mA corresponding to the fourth operation 4TH_OP will be used in the second partial segment EXSECT2. In addition, since the controller 130 has predicted that only the fourth or third operation "4TH or 3RD_OP" will be performed in the sixth segment 6TH_SECT, the controller 130 can calculate the fourth partial power PP5 by predicting that the fourth or third current 100 mA corresponding to the fourth or third operation "4TH or 3RD_OP" will be used in the sixth segment 6TH_SECT.
[0167] The controller 130 may calculate the single power P1 expected to be used in the single operation section by adding the first partial power PP1 , the second partial powers PP2 and PP3 , the third partial power PP4 , and the fourth partial power PP5 .
[0168] Since the controller 130 has predicted that the third section 3RD_SECT will overlap with the second section 2ND_SECT, and the second operation 2ND_OP and the third operation 3RD_OP will be performed in the third section 3RD_SECT while overlapping each other, the controller 130 can calculate the first operating current 200mA by performing an operation on the third current 100mA corresponding to the third operation 3RD_OP and the second current 100mA corresponding to the second operation 2ND_OP, and calculate the fifth partial power PP6 by predicting that the first operating current 200mA will be used in the third section 3RD_SECT. The controller 130 can calculate the first operating current 200mA by adding the current 100mA obtained by multiplying the second current 100mA by the first weight "1" and the current 100mA obtained by multiplying the third current 100mA by the second weight "1". The reason why the controller 130 decides the first weight to be "1" and decides the second weight to be "1" is that since it is assumed that the selected memory die is a NAND flash memory die, the second operation 2ND_OP is included in the second write command PGM_B, and the third operation 3RD_OP is included in the first write command PGM_A.
[0169] Since the controller 130 has predicted that the third operation 3RD_OP and the second or first operation "2ND_or 1ST_OP" will be performed in the fifth section 5TH_SECT overlapping with the third section 3RD_SECT when overlapping each other, the controller 130 can calculate the second operating current 200mA by performing operations on the third current 100mA corresponding to the third operation 3RD_OP and the second current 100mA corresponding to the second or first operation "2ND or 1ST_OP", and calculate the sixth partial power PP7 by predicting that the second operating current 200mA will be used in the fifth section 5TH_SECT. The controller 130 can calculate the second operating current 200mA by adding the current 100mA obtained by multiplying the third current 100mA by the third weight "1" and the current 100mA obtained by multiplying the second current 100mA by the fourth weight "1". The reason why the controller 130 decides the third weight to be "1" and decides the fourth weight to be "1" is that, assuming that the selected memory die is a NAND flash memory die, the third operation 3RD_OP is included in the first write command PGM_A, and the second or first operation "2ND or 1ST_OP" is included in the third write command PGM_C.
[0170] Since the controller 130 has predicted that the fourth operation 4TH_OP and the second or first operation "2ND or 1ST_OP" will be performed in the seventh section 7TH_SECT overlapping with the fourth section 4TH_SECT when overlapping each other, the controller 130 can calculate the third operating current 200mA by performing operations on the fourth current 100mA corresponding to the fourth operation 4TH_OP and the first current 100mA corresponding to the second or first operation "2ND or 1ST_OP", and calculate the seventh partial power PP8 by predicting that the third operating current 200mA will be used in the seventh section 7TH_SECT. The controller 130 can calculate the third operating current 200mA by adding the current 100mA obtained by multiplying the fourth current 100mA by the fifth weight "1" and the current 100mA obtained by multiplying the first current 100mA by the sixth weight "1". The reason why controller 130 decides the fifth weight to be "1" and decides the sixth weight to be "1" is that, assuming that the selected memory die is a NAND flash memory die, the fourth operation 4TH_OP is included in the second write command PGM_B, and the second or first operation "2ND or 1ST_OP" is included in the third write command PGM_C.
[0171] The controller 130 may calculate the overlapping power P2 expected to be used in the overlapping operation section by adding the fifth partial power PP6 , the sixth partial power PP7 , and the seventh partial power PP8 .
[0172] The controller 130 may calculate the total power TOTAL_PW expected to be used in order to execute the first to third write commands PGM_A to PGM_C in the selected memory die by adding the single power P1 and the overlap power P2.
[0173] Figure 8 is a diagram for describing a fourth operation of the controller for a plurality of sequential commands.
[0174] Figure 8 The following operations are shown: When compared with the reference Figure 6 Compared with the case where the first read command RD_A and the second read command RD_B are sequentially transmitted to the selected memory die, when more read commands are transmitted to the operation of the controller 130, that is, when the first read command RD_A and the second read command RD_B, the third read command RD_C and the fourth read command RD_D are sequentially transmitted to the selected memory die, as shown in FIG. Figures 1 to 4 As described above, the controller 130 calculates the single power P1, the overlapping power P2, the peak power and the total power TOTAL_PW.
[0175] As in Figure 6 As in the example, Figure 8 In the example of , the first command is a first read command RD_A for reading third data from the selected memory die, and the second command is a second read command RD_B for reading fourth data from the selected memory die.
[0176] exist Figure 8 In the example of , the third read command RD_C is a command for executing an operation of reading fifth data from the selected memory die, and the fourth read command RD_D is a command for executing an operation of reading sixth data from the selected memory die. At this time, the third read command RD_C can be considered as any one of the first command and the second command according to which read command among the first read command RD_A and the second read command RD_B the third read command RD_C is analyzed as. In addition, the fourth read command RD_D can be considered as any one of the first command and the second command according to which read command among the first read command RD_A to the third read command RD_C the fourth read command RD_D is analyzed as.
[0177] That is, when the power of the third read command RD_C and the fourth read command RD_D is calculated in response to the first read command RD_A being the first command, the controller 130 may identify the sub-operations included in the third read command RD_C and the fourth read command RD_D assuming that each of the third read command RD_C and the fourth read command RD_D is the second command. In addition, when the power of the third read command RD_C and the fourth read command RD_D is calculated in response to the second read command RD_B being the second command, the controller 130 may identify the sub-operations included in the third read command RD_C and the fourth read command RD_D assuming that each of the third read command RD_C and the fourth read command RD_D is the first command. In addition, when the power of the fourth read command RD_D is calculated in response to the third read command RD_C being the first command, the controller 130 may identify the sub-operations included in the fourth read command RD_D assuming that the fourth read command RD_D is the second command. Also, when the power of the fourth read command RD_D is calculated in response to the third read command RD_C being the second command, the controller 130 may identify sub operations included in the fourth read command RD_D assuming that the fourth read command RD_D is the first command.
[0178] Specifically, it may be assumed that the controller 130 starts the read operation at time point V in response to the first read command RD_A, starts the read operation at time point W in response to the second read command RD_B, starts the read operation at time point X in response to the third read command RD_C, and starts the read operation at time point Y in response to the fourth read command RD_D. In other words, the controller 130 may transmit the first read command RD_A to the selected memory die, then transmit the second read command RD_B to the selected memory die, then transmit the third read command RD_C to the selected memory die, and then transmit the fourth read command RD_D to the selected memory die.
[0179] The first read command RD_A may include a third operation 3RD_OP in which the selected memory die physically reads the third data therein and a first operation 1ST_OP in which the selected memory die transmits the third data to the controller 130. Therefore, the controller 130 may analyze the first read command RD_A and recognize the first operation 1ST_OP and the third operation 3RD_OP.
[0180] The controller 130 may analyze the first read command RD_A and determine that the third operation 3RD_OP and the first operation 1ST_OP need to be sequentially performed in a manner that their operation segments do not overlap with each other. At this time, the controller 130 may predict that the third operation 3RD_OP of the first read command RD_A will be performed during the eighth segment 8TH_SECT, that is, during the segment between time points V and Z. In addition, the controller 130 may predict that the first operation 1ST_OP of the first read command RD_A will be performed during the ninth segment 9TH_SECT after the eighth segment 8TH_SECT, that is, during the segment between time points Z and AC.
[0181] The second read command RD_B may include a fourth operation 4TH_OP in which the selected memory die physically reads the fourth data therein and a second operation 2ND_OP in which the selected memory die transmits the fourth data to the controller 130. Therefore, the controller 130 may analyze the second read command RD_B and recognize the second operation 2ND_OP and the fourth operation 4TH_OP.
[0182] The controller 130 may determine the second read command RD_B, and check that the fourth operation 4TH_OP and the second operation 2ND_OP need to be sequentially executed in a manner that their operation segments do not overlap with each other. Because the third operation 3RD_OP and the fourth operation 4TH_OP are included in the first read command RD_A and the second read command RD_B, that is, included in two read commands sequentially executed in one memory die, the controller 130 may determine that the third operation 3RD_OP and the fourth operation 4TH_OP may be executed when overlapping each other. Therefore, the controller 130 may determine that the fourth operation 4TH_OP may be executed after the starting point of the third operation 3RD_OP when the operation segment of the fourth operation 4TH_OP overlaps with the operation segment of the third operation 3RD_OP. Moreover, the controller 130 may determine that the fourth operation 4TH_OP may be executed when the operation segment of the fourth operation 4TH_OP overlaps with the operation segment of the first operation 1ST_OP that starts after the end point of the third operation 3RD_OP. That is, the controller 130 may determine that the fourth operation 4TH_OP may be performed when the operation segment of the fourth operation 4TH_OP overlaps with the operation segment of at least one of the third operation 3RD_OP and the first operation 1ST_OP. In addition, the controller 130 may determine that the second operation 2ND_OP needs to be performed after the end point of the first operation 1ST_OP in a manner that the operation segment of the second operation 2ND_OP does not overlap with the operation segment of the first operation 1ST_OP. Therefore, the controller 130 may predict that the fourth operation 4TH_OP of the second read command RD_B will be performed during the tenth segment 10TH_SECT that overlaps with at least one of the eighth segment 8TH_SECT and the ninth segment 9TH_SECT, that is, during the segment between the time points W and AA. For reference, Figure 8 The tenth segment 10TH_SECT is shown to overlap both the eighth segment 8TH_SECT and the ninth segment 9TH_SECT, but the embodiment is not limited thereto. In another embodiment, the tenth segment 10TH_SECT may overlap only any one of the eighth segment 8TH_SECT and the ninth segment 9TH_SECT. The controller 130 may predict that the second operation 2ND_OP of the second read command RD_B will be performed during the eleventh segment 11TH_SECT after the ninth segment 9TH_SECT and the tenth segment 10TH_SECT, that is, during the segment between the time points AC and AE.
[0183] When the controller 130 analyzes the third read command RD_C relative to the first read command RD_A, it may be assumed that the first read command RD_A is the first command and the third read command RD_C is the second command. Also, when the controller 130 analyzes the third read command RD_C relative to the second read command RD_B, it may be assumed that the second read command RD_B is the second command and the third read command RD_C is the first command.
[0184] Specifically, assuming that the first operation 1ST_OP and the third operation 3RD_OP are included in the first read command RD_A and operations having properties similar to the second operation 2ND_OP and the fourth operation 4TH_OP of the second read command RD_B are included in the third read command RD_C, the controller 130 may analyze the third read command RD_C relative to the first read command RD_A, and then define the operational relationship between the first read command RD_A and the third read command RD_C accordingly.
[0185] In this example, the third read command RD_C may include a fourth or third operation "4TH or 3RD_OP" in which the selected memory die physically reads the fifth data therein, and a second or first operation "2ND or 1ST_OP" in which the selected memory die transmits the fifth data to the controller 130. Therefore, the controller 130 may analyze the third read command RD_C and identify the second or first operation "2ND or 1ST_OP" and the fourth or third operation "4TH or 3RD_OP". In addition, the controller 130 may analyze the third read command RD_C and determine that the fourth or third operation "4TH or 3RD_OP" and the second or first operation "2ND or 1ST_OP" need to be sequentially performed in such a manner that their operation sections do not overlap with each other. Because the third operation 3RD_OP and the fourth or third operation "4TH or 3RD_OP" are respectively included in the first read command RD_A and the third read command RD_C, that is, included in two read commands sequentially executed in one memory die, the controller 130 can determine that the third operation 3RD_OP and the fourth or third operation "4TH or 3RD_OP" can be performed when overlapping each other. Therefore, the controller 130 can determine that the fourth or third operation "4TH or 3RD_OP" can be performed after the starting point of the third operation 3RD_OP when the operation segment of the fourth or third operation "4TH or 3RD_OP" overlaps with the operation segment of the third operation 3RD_OP. Moreover, the controller 130 can determine that the fourth or third operation "4TH or 3RD_OP" can be performed when the operation segment of the fourth or third operation "4TH or 3RD_OP" overlaps with the operation segment of the first operation 1ST_OP that starts after the end point of the third operation 3RD_OP. That is, the controller 130 may determine that the fourth or third operation "4TH or 3RD_OP" may be performed when the operation segment of the fourth or third operation "4TH or 3RD_OP" overlaps with the operation segment of at least one of the third operation 3RD_OP and the first operation 1ST_OP. In addition, the controller 130 may determine that the second or first operation "2ND or 1ST_OP" needs to be performed after the end point of the first operation 1ST_OP in such a way that the operation segment of the second or first operation "2ND or 1ST_OP" does not overlap with the operation segment of the first operation 1ST_OP. Therefore, the controller 130 may predict that the fourth or third operation "4TH or 3RD_OP" of the third read command RD_C will be performed during the twelfth segment 12TH_SECT that overlaps with at least one of the eighth segment 8TH_SECT and the ninth segment 9TH_SECT, that is, during the segment between the time points X and AB. For reference, Figure 8The twelfth segment 12TH_SECT is shown to overlap both the eighth segment 8TH_SECT and the ninth segment 9TH_SECT, but this is merely an embodiment. In another embodiment, the twelfth segment 12TH_SECT may overlap only any one of the eighth segment 8TH_SECT and the ninth segment 9TH_SECT. The controller 130 may predict that the second or first operation "2ND or 1ST_OP" of the third read command RD_C will be performed during the thirteenth segment 13TH_SECT after the ninth segment 9TH_SECT and the twelfth segment 12TH_SECT, that is, during the segment between the time points AE and AF.
[0186] Then, the controller 130 may determine an operational relationship between the second read command RD_B and the third read command RD_C.
[0187] Because the fourth operation 4TH_OP and the fourth or third operation "4TH or 3RD_OP" are respectively included in the second read command RD_B and the third read command RD_C, that is, included in two read commands sequentially executed in one memory die, the controller 130 may determine that the fourth operation 4TH_OP and the fourth or third operation "4TH or 3RD_OP" may be performed when overlapping each other. Therefore, the controller 130 may determine that the fourth or third operation "4TH or 3RD_OP" may be performed after the starting point of the fourth operation 4TH_OP when the operation segment of the fourth or third operation "4TH or 3RD_OP" overlaps with the operation segment of the fourth operation 4TH_OP. In addition, the controller 130 may determine that the fourth or third operation "4TH or 3RD_OP" may be performed when the operation segment of the fourth or third operation "4TH or 3RD_OP" overlaps with the operation segment of the second operation 2ND_OP that starts after the ending point of the fourth operation 4TH_OP. That is, the controller 130 may determine that the fourth or third operation "4TH or 3RD_OP" may be performed when the operation segment of the fourth or third operation "4TH or 3RD_OP" overlaps with the operation segment of at least one of the fourth operation 4TH_OP and the second operation 2ND_OP. Moreover, the controller 130 may determine that the second or first operation "2ND or 1ST_OP" needs to be performed after the end point of the second operation 2ND_OP, when the operation segment of the second or first operation "2ND or 1ST_OP" does not overlap with the operation segment of the second operation 2ND_OP. Therefore, the controller 130 may predict that the fourth or third operation "4TH or 3RD_OP" of the third read command RD_C will be performed during the twelfth segment 12TH_SECT that overlaps with at least one of the tenth segment 10TH_SECT and the eleventh segment 11TH_SECT, that is, during the segment between the time points X and AB. For reference, Figure 8The twelfth segment 12TH_SECT is shown to overlap with the tenth segment 10TH_SECT, but not with the eleventh segment 11TH_SECT, but this is merely an embodiment. In another embodiment, the twelfth segment 12TH_SECT may overlap with both the tenth segment 10TH_SECT and the eleventh segment 11TH_SECT. The controller 130 may predict that the second or first operation "2ND or 1ST_OP" of the third read command RD_C will be performed during the thirteenth segment 13TH_SECT after the tenth segment 10TH_SECT and the twelfth segment 12TH_SECT, that is, during the segment between the time points AE and AF.
[0188] When the controller 130 analyzes the fourth read command RD_D relative to the first read command RD_A, it may be assumed that the first read command RD_A is the first command and the fourth read command RD_D is the second command. When the controller 130 analyzes the fourth read command RD_D relative to the second read command RD_B, it may be assumed that the second read command RD_B is the second command and the fourth read command RD_D is the first command. When the controller 130 analyzes the fourth read command RD_D relative to the third read command RD_C, it may be assumed that the third read command RD_C is the first command and the fourth read command RD_D is the second command, or the third read command RD_C is the second command and the fourth read command RD_D is the first command.
[0189] Specifically, assuming that the first operation 1ST_OP and the third operation 3RD_OP are included in the first read command RD_A and operations similar to the second operation 2ND_OP and the fourth operation 4TH_OP of the second read command RD_B are included in the fourth read command RD_D, the controller 130 may analyze the fourth read command RD_D relative to the first read command RD_A, and then define the operational relationship between the first read command RD_A and the fourth read command RD_D.
[0190] The fourth read command RD_D may include the third or fourth operation "3RD or 4TH_OP", in which the selected memory die physically reads the sixth data therein, and the first or second operation "1ST or 2ND_OP", in which the selected memory die transmits the sixth data to the controller 130. Therefore, the controller 130 may analyze the fourth read command RD_D, and identify the first or second operation "1ST or 2ND_OP" and the third or fourth operation "3RD or 4TH_OP". In addition, the controller 130 may analyze the fourth read command RD_D, and determine that the third or fourth operation "3RD or 4TH_OP" and the first or second operation "1ST or 2ND_OP" need to be sequentially performed when their operation sections do not overlap with each other. Because the third operation 3RD_OP and the third or fourth operation "3RD or 4TH_OP" are respectively included in the first read command RD_A and the fourth read command RD_D, that is, included in two read commands sequentially executed in one memory die, the controller 130 may determine that the third operation 3RD_OP and the third or fourth operation "3RD or 4TH_OP" may be performed when overlapping each other. Therefore, the controller 130 may determine that the third or fourth operation "3RD or 4TH_OP" may be performed after the starting point of the third operation 3RD_OP when the operation segment of the third or fourth operation "3RD or 4TH_OP" overlaps with the operation segment of the third operation 3RD_OP. In addition, the controller 130 may determine that the third or fourth operation "3RD or 4TH_OP" may be performed when the operation segment of the third or fourth operation "3RD or 4TH_OP" overlaps with the operation segment of the first operation 1ST_OP that starts after the ending point of the third operation 3RD_OP. That is, the controller 130 may determine that the third or fourth operation “3RD or 4TH_OP” may be performed when the operation segment of the third or fourth operation “3RD or 4TH_OP” overlaps with the operation segment of at least one of the third operation 3RD_OP and the first operation 1ST_OP. Furthermore, the controller 130 may determine that the first or second operation “1ST or 2ND_OP” needs to be performed after the end point of the first operation 1ST_OP, when the operation segment of the first or second operation “1ST or 2ND_OP” does not overlap with the operation segment of the first operation 1ST_OP. Therefore, the controller 130 may predict that the third or fourth operation “3RD or 4TH_OP” of the fourth read command RD_D will be performed during the fourteenth segment 14TH_SECT that overlaps with at least one of the eighth segment 8TH_SECT and the ninth segment 9TH_SECT, that is, during the segment between time points Y and AD. For reference, Figure 8The fourteenth segment 14TH_SECT is shown to overlap both the eighth segment 8TH_SECT and the ninth segment 9TH_SECT, but this is merely an embodiment. In another embodiment, the fourteenth segment 14TH_SECT may overlap only any one of the eighth segment 8TH_SECT and the ninth segment 9TH_SECT. The controller 130 may predict that the first or second operation "1ST or 2ND_OP" of the fourth read command RD_D will be performed during the fifteenth segment 15TH_SECT after the ninth segment 9TH_SECT and the fourteenth segment 14TH_SECT, that is, during the segment between the time points AF and AJ.
[0191] Then, the controller 130 may determine an operational relationship between the second read command RD_B and the fourth read command RD_D.
[0192] Because the fourth operation 4TH_OP and the third or fourth operation "3RD or 4TH_OP" are respectively included in the second read command RD_B and the fourth read command RD_D, that is, included in two read commands sequentially executed in one memory die, the controller 130 may determine that the fourth operation 4TH_OP and the third or fourth operation "3RD or 4TH_OP" may be performed when overlapping each other. The controller 130 may determine that the third or fourth operation "3RD or 4TH_OP" may be performed when the operation segment of the third or fourth operation "3RD or 4TH_OP" overlaps with the operation segment of the fourth operation 4TH_OP after the starting point of the fourth operation 4TH_OP. Moreover, the controller 130 may determine that the third or fourth operation "3RD or 4TH_OP" may be performed when the operation segment of the third or fourth operation "3RD or 4TH_OP" overlaps with the operation segment of the second operation 2ND_OP that starts after the ending point of the fourth operation 4TH_OP. That is, the controller 130 may determine that the third or fourth operation “3RD or 4TH_OP” may be performed when the operation segment of the third or fourth operation “3RD or 4TH_OP” overlaps with the operation segment of at least one of the fourth operation 4TH_OP and the second operation 2ND_OP. The controller 130 may determine that the first or second operation “1ST or 2ND_OP” needs to be performed after the end point of the second operation 2ND_OP in such a way that the operation segment of the first or second operation “1ST or 2ND_OP” does not overlap with the operation segment of the second operation 2ND_OP. Therefore, the controller 130 may predict that the third or fourth operation “3RD or 4TH_OP” of the fourth read command RD_D will be performed during the fourteenth segment 14TH_SECT that overlaps with at least one of the tenth segment 10TH_SECT and the eleventh segment 11TH_SECT, that is, during the segment between the time points Y and AD. For reference, Figure 8The fourteenth section 14TH_SECT is shown to overlap both the tenth section 10TH_SECT and the eleventh section 11TH_SECT, but this is merely an embodiment. In another embodiment, the fourteenth section 14TH_SECT may overlap only any one of the tenth section 10TH_SECT and the eleventh section 11TH_SECT. The controller 130 may predict that the first or second operation "1ST or 2ND_OP" of the fourth read command RD_D will be performed during the fifteenth section 15TH_SECT after the eleventh section 11TH_SECT and the fourteenth section 14TH_SECT, that is, during the section between the time points AF and AJ.
[0193] When the controller 130 analyzes the fourth read command RD_D relative to the third read command RD_C, it may be assumed that when the third read command RD_C is the first command, the fourth read command RD_D is the second command. This is similar to assuming that the fourth read command RD_D is the second command in response to the first read command RD_A being the first command. Therefore, the controller 130 may analyze the fourth read command RD_D relative to the third read command RD_C in a manner substantially similar to the operation of analyzing the fourth read command RD_D relative to the first read command RD_A. Therefore, a detailed description thereof will be omitted herein.
[0194] Similarly, when the controller 130 analyzes the fourth read command RD_D relative to the third read command RD_C, it may be assumed that when the third read command RD_C is the second command, the fourth read command RD_D is the first command. This is similar to assuming that the fourth read command RD_D is the first command in response to the second read command RD_B being the second command. Therefore, the controller 130 may analyze the fourth read command RD_D relative to the third read command RD_C in a manner substantially similar to the operation of analyzing the fourth read command RD_D relative to the second read command RD_B. Therefore, a detailed description thereof will be omitted herein.
[0195] As described above, the controller 130 may identify eight operations (operations 1ST_OP, 2ND_OP, 3RD_OP, 4TH_OP, "4TH or 3RD_OP", "2ND or 1ST_OP", "3RD or 4TH_OP", and "1ST or 2ND_OP") included in the first to fourth read commands RD_A to RD_D to be sequentially transmitted to the selected memory die. In addition, the controller 130 may predict the operation segments of the operations 1ST_OP, 2ND_OP, 3RD_OP, 4TH_OP, "4TH or 3RD_OP", "2ND or 1ST_OP", "3RD or 4TH_OP", and "1ST or 2ND_OP" included in the first to fourth read commands RD_A to RD_D, i.e., the eighth to fifteenth segments 8TH_SECT, 9TH_SECT, 10TH_SECT, 11TH_SECT, 12TH_SECT, 13TH_SECT, 14TH_SECT, and 15TH_SECT.
[0196] Therefore, the controller 130 may identify a single operation section in which only any one of the operations 1ST_OP, 2ND_OP, 3RD_OP, 4TH_OP, "4TH or 3RD_OP", "2ND or 1ST_OP", "3RD or 4TH_OP", and "1ST or 2ND_OP" included in the first to fourth read commands RD_A to RD_D is performed, and calculate the single power P1. In addition, the controller 130 may identify an overlapping operation section in which two or more of these operations are performed while overlapping each other, and calculate the overlapping power P2.
[0197] Specifically, because the controller 130 has predicted that the eighth segment 8TH_SECT has a first partial segment EXSECT1 that does not overlap with the tenth segment 10TH_SECT, the twelfth segment 12TH_SECT, and the fourteenth segment 14TH_SECT, and only the third operation 3RD_OP will be performed in the first partial segment EXSECT1, the controller 130 can calculate the eighth partial power PP9 by predicting that the third current 100mA corresponding to the third operation 3RD_OP will be used in the first partial segment EXSECT1. In addition, because the controller 130 has predicted that the eleventh segment 11TH_SECT has a second partial segment EXSECT2 that does not overlap with the twelfth segment 12TH_SECT and the fourteenth segment 14TH_SECT, and the second operation 2ND_OP will be independently performed in the second partial segment EXSECT2, the controller 130 can calculate the ninth partial power PP10 by predicting that the second current 100mA corresponding to the second operation 2ND_OP will be used in the second partial segment EXSECT2. In addition, because the controller 130 has predicted that only the second or first operation "2ND or 1ST_OP" will be performed in the thirteenth section 13TH_SECT, the controller 130 can calculate the tenth partial power PP11 by predicting that the second or first current 100mA corresponding to the second or first operation "2ND or 1ST_OP" will be used in the thirteenth section 13TH_SECT. In addition, because the controller 130 has predicted that only the first or second operation "1ST or 2ND_OP" will be performed in the fifteenth section 15TH_SECT, the controller 130 can calculate the eleventh partial power PP12 by predicting that the first or second current 100mA corresponding to the first or second operation "1ST or 2ND_OP" will be used in the fifteenth section 15TH_SECT. The controller 130 can calculate the single power P1 expected to be used in the single operation section by adding the eighth partial power PP9, the ninth partial power PP10, the tenth partial power PP11, and the eleventh partial power PP12.
[0198] Because the controller 130 has predicted that the third operation 3RD_OP and the fourth operation 4TH_OP will be performed while overlapping each other in the tenth segment 10TH_SECT that overlaps with the eighth segment 18TH_SECT but does not overlap with the twelfth segment 12TH_SECT and the fourteenth segment 14TH_SECT, that is, performed in a portion 10TH_SECT_A of the tenth segment 10TH_SECT, the controller 130 can calculate the fourth operating current 150 mA by performing operations on the third current 100 mA corresponding to the third operation 3RD_OP and the fourth current 100 mA corresponding to the fourth operation 4TH_OP, and calculate the twelfth partial power PP13 by predicting that the fourth operating current 150 mA will be used in a portion 10TH_SECT_A of the tenth segment 10TH_SECT. The controller 130 may calculate the fourth operation current 150 mA by adding the current 100 mA obtained by multiplying the third current 100 mA by the seventh weight “1” and the current 50 mA obtained by multiplying the fourth current 100 mA by the eighth weight “0.5”. The reason why the controller 130 decides the seventh weight to be “1” and decides the eighth weight to be “0.5” is that since it has been assumed that the selected memory die is a NAND flash memory die, the fourth operation 4TH_OP is included in the second read command RD_B, and the third operation 3RD_OP is included in the first read command RD_A.
[0199] Because the controller 130 has predicted that the third operation 3RD_OP and the fourth operation 4TH_OP and the fourth or third operation "4TH or 3RD_OP" will be performed when overlapping with each other in the twelfth segment 12TH_SECT that overlaps with the eighth segment 8TH_SECT and the tenth segment 10TH_SECT but does not overlap with the fourteenth segment 14TH_SECT, that is, performed in a portion 12TH_SECT_A of the twelfth segment 12TH_SECT, the controller 130 can calculate the fifth operating current 200mA by performing operations on the third current 100mA corresponding to the third operation 3RD_OP, the fourth current 100mA corresponding to the fourth operation 4TH_OP, and the fourth or third current 100mA corresponding to the fourth or third operation "4TH or 3RD_OP", and calculate the thirteenth partial power PP14 by predicting that the fifth operating current 200mA will be used in a portion 12TH_SECT_A of the twelfth segment 12TH_SECT. At this time, the controller 130 can calculate the fifth operation current 200mA by adding the current 100mA obtained by multiplying the third current 100mA by the ninth weight “1”, the current 50mA obtained by multiplying the fourth current 100mA by the tenth weight “0.5”, and the current 50mA obtained by multiplying the fourth or third current 100mA by the eleventh weight “0.5”. The reason why the controller 130 decides the ninth weight to be “1”, the tenth weight to be “0.5”, and the eleventh weight to be “0.5” is that, since it has been assumed that the selected memory die is a NAND flash memory die, the fourth or third operation “4TH or 3RD_OP” is included in the third read command RD_C, the fourth operation 4TH_OP is included in the second read command RD_B, and the third operation 3RD_OP is included in the first read command RD_A.
[0200] Because the controller 130 has predicted that the third operation 3RD_OP, the fourth operation 4TH_OP, the fourth or third operation “4TH or 3RD_OP”, and the third or fourth operation “3RD or 4TH_OP” will be performed in the fourteenth segment 14TH_SECT overlapping with the eighth segment 8TH_SECT, the tenth segment 10TH_SECT, and the twelfth segment 12TH_SECT when overlapping each other, that is, in a portion 14TH_SECT_A of the fourteenth segment 14TH_SECT, the controller 130 can perform the operation by performing the operation corresponding to the third operation 3RD_OP, the fourth operation 4TH_OP, the fourth or third operation “4TH or 3RD_OP”, and the third or fourth operation “3RD or 4TH_OP”. The sixth operating current 250mA is calculated by performing operations on the third current 100mA of the fourth operation 3RD_OP, the fourth current 100mA corresponding to the fourth operation 4TH_OP, the fourth or third current 100mA corresponding to the fourth or third operation "4TH or 3RD_OP", and the third or fourth current 100mA corresponding to the third or fourth operation "3RD or 4TH_OP", and the fourteenth partial power PP15 is calculated by predicting that the sixth operating current 250mA will be used in a part 14TH_SECT_A of the fourteenth segment 14TH_SECT. The controller 130 can calculate the sixth operating current 250mA by adding the current 100mA obtained by multiplying the third current 100mA by the twelfth weight "1", the current 50mA obtained by multiplying the fourth current 100mA by the thirteenth weight "0.5", the current 50mA obtained by multiplying the fourth or third current 100mA by the fourteenth weight "0.5", and the current 50mA obtained by multiplying the third or fourth current 100mA by the fifteenth weight "0.5". The reason why controller 130 decides the twelfth weight to be "1", the thirteenth weight to be "0.5", the fourteenth weight to be "0.5" and the fifteenth weight to be "0.5" is that, because it is assumed that the selected memory die is a NAND flash memory die, the third or fourth operation "3RD or 4TH_OP" is included in the fourth read command RD_D, the fourth or third operation "4TH or 3RD_OP" is included in the third read command RD_C, the fourth operation 4TH_OP is included in the second read command RD_B, and the third operation 3RD_OP is included in the first read command RD_A.
[0201] Because the controller 130 has predicted that the first operation 1ST_OP, the fourth operation 4TH_OP, the fourth or third operation "4TH or 3RD_OP", and the third or fourth operation "3RD or 4TH_OP" will be performed in the tenth segment 10TH_SECT overlapping with the ninth segment 9TH_SECT, the twelfth segment 12TH_SECT, and the fourteenth segment 14TH_SECT when overlapping each other, that is, in another part 10TH_SECT_B of the tenth segment 10TH_SECT, the controller 130 can The seventh operating current 250mA is calculated by performing operations on the first current 100mA of 1ST_OP, the fourth current 100mA corresponding to the fourth operation 4TH_OP, the fourth or third current 100mA corresponding to the fourth or third operation "4TH or 3RD_OP", and the third or fourth current 100mA corresponding to the third or fourth operation "3RD or 4TH_OP", and the fifteenth partial power PP16 is calculated by predicting that the seventh operating current 250mA will be used in a part 10TH_SECT_B of the tenth segment 10TH_SECT. The controller 130 can calculate the seventh operating current 250mA by adding the current 100mA obtained by multiplying the first current 100mA by the sixteenth weight "1", the current 50mA obtained by multiplying the fourth current 100mA by the seventeenth weight "0.5", the current 50mA obtained by multiplying the fourth or third current 100mA by the eighteenth weight "0.5", and the current 50mA obtained by multiplying the third or fourth current 100mA by the nineteenth weight "0.5". The reason why controller 130 decides the sixteenth weight to be "1", decides the seventeenth weight to be "0.5", decides the eighteenth weight to be "0.5" and decides the nineteenth weight to be "0.5" is that, because it is assumed that the selected memory die is a NAND flash memory die, the third or fourth operation "3RD or 4TH_OP" is included in the fourth read command RD_D, the fourth or third operation "4TH or 3RD_OP" is included in the third read command RD_C, the fourth operation 4TH_OP is included in the second read command RD_B, and the first operation 1ST_OP is included in the first read command RD_A.
[0202] Because the controller 130 has predicted that the first operation 1ST_OP, the fourth or third operation "4TH or 3RD_OP", and the third or fourth operation "3RD or 4TH_OP" will be performed when overlapping with each other in the twelfth segment 12TH_SECT overlapping with the ninth segment 9TH_SECT and the fourteenth segment 14TH_SECT, that is, in another part 12TH_SECT_B of the twelfth segment 12TH_SECT, the controller 130 can calculate the eighth operating current 200mA by performing operations on the first current 100mA corresponding to the first operation 1ST_OP, the fourth or third current 100mA corresponding to the fourth or third operation "4TH or 3RD_OP", and the third or fourth current 100mA corresponding to the third or fourth operation "3RD or 4TH_OP", and calculate the sixteenth partial power PP17 by predicting that the eighth operating current 200mA will be used in a part 12TH_SECT_B of the twelfth segment 12TH_SECT. The controller 130 may obtain an eighth operation current of 200 mA by adding a current of 100 mA obtained by multiplying the first current 100 mA by a twentieth weight “1”, a current of 50 mA obtained by multiplying the fourth or third current 100 mA by a twenty-first weight “0.5”, and a current of 50 mA obtained by multiplying the third or fourth current 100 mA by a twenty-second weight “0.5”. The reason why the controller 130 decides the twentieth weight to be “1”, the twenty-first weight to be “0.5”, and the twenty-second weight to be “0.5” is that, since it has been assumed that the selected memory die is a NAND flash memory die, the third or fourth operation “3RD or 4TH_OP” is included in the fourth read command RD_D, the fourth or third operation “4TH or 3RD_OP” is included in the third read command RD_C, and the first operation 1ST_OP is included in the first read command RD_A.
[0203] Because the controller 130 has predicted that the first operation 1ST_OP and the third or fourth operation "3RD or 4TH_OP" will be performed when overlapping with each other in the fourteenth segment 14TH_SECT overlapping with the ninth segment 9TH_SECT, that is, in another part 14TH_SECT_B of the fourteenth segment 14TH_SECT, the controller 130 can calculate the ninth operating current 150mA by performing operations on the first current 100mA corresponding to the first operation 1ST_OP and the third or fourth current 100mA corresponding to the third or fourth operation "3RD or 4TH_OP", and calculate the seventeenth partial power PP18 by predicting that the ninth operating current 150mA will be used in a part 14TH_SECT_B of the fourteenth segment 14TH_SECT. The controller 130 may calculate a ninth operation current 150 mA by adding a current 100 mA obtained by multiplying the first current 100 mA by a twenty-third weight “1” and a current 50 mA obtained by multiplying the third or fourth current 100 mA by a twenty-fourth weight “0.5.” The reason why the controller 130 decides the twenty-third weight to be “1” and decides the twenty-fourth weight to be “0.5” is that, since it has been assumed that the selected memory die is a NAND flash memory die, the third or fourth operation “3RD or 4TH_OP” is included in the fourth read command RD_D, and the first operation 1ST_OP is included in the first read command RD_A.
[0204] Because the controller 130 has predicted that the second operation 2ND_OP and the third or fourth operation "3RD or 4TH_OP" will be performed when overlapping each other in the fourteenth segment 14TH_SECT overlapping with the eleventh segment 11TH_SECT, that is, in another part 14TH_SECT_C of the fourteenth segment 14TH_SECT, the controller 130 can calculate the tenth operating current 150mA by performing operations on the second current 100mA corresponding to the second operation 2ND_OP and the third or fourth current 100mA corresponding to the third or fourth operation "3RD or 4TH_OP", and calculate the eighteenth partial power PP19 by predicting that the tenth operating current 150mA will be used in a part 14TH_SECT_C of the fourteenth segment 14TH_SECT. The controller 130 may calculate the tenth operation current 150 mA by adding the current 100 mA obtained by multiplying the second current 100 mA by the twenty-fifth weight “1” and the current 50 mA obtained by multiplying the third or fourth current 100 mA by the twenty-sixth weight “0.5”. The reason why the controller 130 decides the twenty-fifth weight to be “1” and decides the twenty-sixth weight to be “0.5” is that, since it has been assumed that the selected memory die is a NAND flash memory die, the third or fourth operation “3RD or 4TH_OP” is included in the fourth read command RD_D, and the second operation 2ND_OP is included in the second read command RD_B.
[0205] The controller 130 may calculate the overlapping power P2 expected to be used in the overlapping operation section by adding the twelfth, thirteenth, fourteenth, fifteenth, sixteenth, seventeenth, and eighteenth partial powers PP13, PP14, PP15, PP16, PP17, PP18, and PP19.
[0206] The controller 130 may calculate the total power TOTAL_PW expected to be used in order to execute the first to fourth read commands RD_A to RD_D in the selected memory die by adding the single power P1 and the overlap power P2.
[0207] Fig. 9 A fifth operation of the controller 130 on a plurality of sequential commands having times adjusted according to a maximum peak power according to an embodiment is shown.
[0208] Fig. 9 The controller 130 adjusts Figure 8 The operation time point of the operation of the first read command RD_A to the fourth read command RD_D to maintain the peak power less than or equal to the peak power limit corresponding to 200mA Figure 8The first read command RD_A to the fourth read command RD_D.
[0209] In an embodiment, the controller 130 determines that starting the operation at the earliest time at which the operation can be performed will cause the peak power to exceed the peak power limit, and therefore, in response, instead evaluates to start the operation at a time later than the end time of the previously started operation. For example, upon detecting that the third or fourth operation "3RD or 4TH_OP" ("the operation") included in the fourth read command RD_D is started at time Y (e.g., Figure 8 As shown in FIG. 1 , the controller 130 will evaluate whether starting the third or fourth operation “3RD or 4TH_OP” at time Z (when the third operation 3RD_OP of the first read command RD_A ends) will cause the peak power to exceed the peak power limit, so in response, the controller 130 will evaluate whether starting the third or fourth operation “3RD or 4TH_OP” at time Z (when the third operation 3RD_OP of the first read command RD_A ends) will cause the peak power to exceed the peak power limit between time Z and AA. Therefore, starting the third or fourth operation “3RD or 4TH_OP” at time AA (when the fourth operation 4TH_OP of the second read command RD_B ends) will then be evaluated, which will determine that starting the third or fourth operation “3RD or 4TH_OP” at time AA will not cause the peak power to exceed the peak power limit. Therefore, as Fig. 9 As shown, the third or fourth operation "3RD or 4TH_OP" is scheduled to start at time AA.
[0210] Therefore, in order to keep the peak power in the segments 14TH_SECT_A and 10TH_SECT_B within the specified limits, the third or fourth operation "3RD or 4TH_OP" included in the fourth read command RD_D is adjusted to start after the fourth operation 4TH_OP included in the second read command RD_B (i.e., start at time AA), and the first or second operation "1ST or 2ND_OP" included in the fourth read command RD_D is adjusted to occur after the third or fourth operation "3RD or 4TH_OP" included in the fourth read command RD (i.e., occur at time AJ). Therefore, the third or fourth operation "3RD or 4TH_OP" included in the fourth read command RD_D starts at time AA (instead of starting at time AA as in Figure 8 The first or second operation “1ST or 2ND_OP” included in the fourth read command RD_D starts at time AJ and ends at time AK.
[0211] As a result of the controller 130 adjusting the operation time point as described above, the fourteenth partial power PP15 and the fifteenth partial power PP16 are reduced by an amount corresponding to the reduction of the operating current 50mA, the ninth partial power PP10 and the tenth partial power P11 are increased by an amount corresponding to the increase of the operating current 50mA, and a new twenty-first partial power PP20 occurs during the sixteenth segment 16TH_SECT, and the new twenty-first partial power PP20 has a value corresponding to the operating current 100mA.
[0212] Therefore, the controller 130 can calculate the single power P1 by adding the eighth partial power PP9, the eleventh partial power PP12 and the nineteenth partial power PP20, and calculate the overlapping power P2 expected to be used in the overlapping operating section by adding the ninth partial power PP10, the tenth partial power PP11, the twelfth partial power PP13, the thirteenth partial power PP14, the fourteenth partial power PP15, the fifteenth partial power PP16, the sixteenth partial power PP17, the seventeenth partial power PP18 and the eighteenth partial power PP19.
[0213] The controller 130 may calculate the total power TOTAL_PW expected to be used to execute the first to fourth read commands RD_A to RD_D in the selected memory die by adding the single power P1 and the overlap power P2. Here, the total power TOTAL_PW may be higher than Figure 8 The total power TOTAL_PW in the example is 0, but the maximum peak power is lower.
[0214] Although various embodiments have been described for purposes of illustration, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.
Claims
1. A memory system, include: A memory device comprising a plurality of memory dies; as well as Controller, execute: When a first command and a second command are sequentially transmitted to any one selected memory die among the plurality of memory dies, the first command and the second command are analyzed, and the analyzing of the first command and the second command includes: identifying a first operation and a third operation of the first command and a second operation and a fourth operation of the second command, wherein the first operation and the second operation cannot be performed when operation sections of the first operation and the second operation overlap with each other, wherein the third operation can be performed when the operation section of the third operation overlaps with the operation section of the second operation, and wherein the fourth operation can be performed when the operation section of the fourth operation overlaps with the operation section of the first operation, calculating a single power expected to be used in one or more single operation sections, in which only any one corresponding operation among the first operation to the fourth operation is performed, calculating overlapping power expected to be used in one or more overlapping operation sections in which respective ones of the first to fourth operations are performed while overlapping with each other, calculating a total power expected to be used when the first command and the second command are executed in the selected memory die by adding the single power and the overlap power according to operation time points of the first operation to the fourth operation, and calculating the peak power according to the maximum value of the power expected to be used in the one or more overlapping operation sections, respectively, The controller adjusts operation time points from the first operation to the fourth operation so that the total power is minimized while keeping the peak power at a value less than a predetermined reference value.
2. The memory system of claim 1, wherein the overlap power is calculated include: determining values of a plurality of preset weights according to types of the first command and the second command and a type of the selected memory die, calculating an operating current by applying the preset weight to two or more currents respectively corresponding to two or more operations performed while overlapping each other in one of the overlapping operation sections, and The overlap power is calculated by predicting the operating current to be used in the overlap operating section.
3. The memory system of claim 2 , wherein when the first command is a first write command for storing first data in the selected memory die, and the second command is a second write command for storing second data in the selected memory die, the controller: identifying an operation of transferring the first data to the selected memory die as the first operation, and predicting that the first operation will be performed during a first segment, identifying an operation in which the selected memory die physically stores the first data in the selected memory die after the first segment as the third operation, and predicting that the third operation will be performed during the second segment, identifying an operation of transferring the second data to the selected memory die after the first segment as the second operation, and predicting that the second operation will be performed during a third segment overlapping the second segment, and The selected memory die physically identifies an operation of storing the second data in the selected memory die after the second segment and the third segment as the fourth operation, and predicts that the fourth operation will be performed during a fourth segment.
4. The memory system of claim 3 , wherein the controller calculates the single power by adding a first partial power, a second partial power, and a third partial power, the first partial power being obtained by predicting that a first current corresponding to the first operation will be used in the first section, the second partial power being obtained by predicting that a third current corresponding to the third operation will be used in a portion of the second section that does not overlap with the third section, and the third partial power being obtained by predicting that a fourth current corresponding to the fourth operation will be used in the fourth section, calculating a first operation current by performing an operation on the third current and a second current corresponding to the second operation, and The peak power is calculated by predicting that the first operating current will be used in the third section. 5 . The memory system of claim 4 , wherein the controller calculates the first operating current by adding a current obtained by multiplying the second current by a first weight and a current obtained by multiplying the third current by a second weight.
6. The memory system of claim 2, wherein when the first command is a first read command for reading third data from the selected memory die, and the second command is a second read command for reading fourth data from the selected memory die, the controller: identifying an operation of the selected memory die physically reading the third data in the selected memory die as the third operation, and predicting that the third operation will be performed during a fifth segment, identifying an operation of receiving the third data from the selected memory die after the fifth segment as the first operation, and predicting that the first operation will be performed during a sixth segment, identifying an operation in which the selected memory die physically reads the fourth data in the selected memory die after the third operation starts as the fourth operation, and predicting that the fourth operation will be performed during a seventh segment, the seventh segment overlapping at least one of the fifth segment and the sixth segment; and An operation of receiving the fourth data from the selected memory die after the sixth section and the seventh section is identified as the second operation, and the second operation is predicted to be performed during an eighth section.
7. The memory system of claim 6 , wherein the controller calculates the single power by adding a fourth partial power, a fifth partial power, and a sixth partial power, the fourth partial power being obtained by predicting that a third current corresponding to the third operation will be used in a portion of the fifth segment that does not overlap with the seventh segment, the fifth partial power being obtained by predicting that a first current corresponding to the first operation will be used in a portion of the sixth segment that does not overlap with the seventh segment, and the sixth partial power being obtained by predicting that a second current corresponding to the second operation will be used in the eighth segment, calculating a second operation current by performing an operation on the third current and a fourth current corresponding to the fourth operation, and calculating a third operation current by performing an operation on the first current and the fourth current, and The peak power expected to be used in the seventh section is calculated by predicting that the second operating current will be used in the seventh section overlapping the fifth section and predicting that the third operating current will be used in the seventh section overlapping the sixth section.
8. The memory system of claim 7 , wherein the controller calculates the second operating current by adding a current obtained by multiplying the third current by a third weight and a current obtained by multiplying the fourth current by a fourth weight, and calculates the third operating current by adding a current obtained by multiplying the first current by a fifth weight and a current obtained by multiplying the fourth current by a sixth weight.
9. The memory system of claim 2, wherein the controller include: a command analysis unit, configured to identify the first to fourth operations by analyzing each of the first and second commands; a power calculation unit, configured to calculate the single power, the peak power and the total power according to operation time points from the first operation to the fourth operation; a weight checking unit, which determines the type of the selected memory die and transmits weight information corresponding to the determination result to the power calculation unit; as well as An operation adjustment unit checks a result of the power calculation unit and adjusts operation time points of the first operation to the fourth operation according to the check result.
10. A method for operating a memory system, the memory system comprising a memory device, the memory device comprising a plurality of memory dies, the operating method include: When a first command and a second command are sequentially transmitted to a selected memory die among the plurality of memory dies, the first command and the second command are analyzed, and the analyzing of the first command and the second command includes: identifying a first operation and a third operation of the first command and identifying a second operation and a fourth operation of the second command, wherein the first operation and the second operation cannot be performed when operation sections of the first operation and the second operation overlap with each other, wherein the third operation can be performed when the operation section of the third operation overlaps with the operation section of the second operation, and wherein the fourth operation can be performed when the operation section of the fourth operation overlaps with the operation section of the first operation, and calculating a single power expected to be used in one or more single operation sections, in which only any one corresponding operation among the first operation to the fourth operation is performed, calculating overlapping power expected to be used in one or more overlapping operation sections in which respective ones of the first to fourth operations are performed while overlapping with each other, calculating a total power expected to be used when the first command and the second command are executed in the selected memory die by adding the single power and the overlap power according to operation time points of the first operation to the fourth operation, and calculating the peak power according to the maximum value of the power expected to be used in the one or more overlapping operation sections, respectively, The operating method further includes an adjustment step, in which the operating time points of the first operation to the fourth operation are adjusted so that the total power is minimized while keeping the peak power calculated in the calculation step at a value less than a predetermined reference value.
11. The operating method according to claim 10, wherein the overlapping power is calculated include: determining values of a plurality of preset weights according to types of the first command and the second command and a type of the selected memory die, calculating an operating current by applying the preset weight to two or more currents respectively corresponding to two or more operations performed while overlapping each other in one of the overlapping operation sections, and The overlap power is calculated by predicting the operating current to be used in the overlap operating section.
12. The operating method according to claim 11, further comprising: include: When the first command is a first write command for storing first data in the selected memory die, and the second command is a second write command for storing second data in the selected memory die: identifying an operation of transferring the first data to the selected memory die as the first operation, and predicting that the first operation will be performed during a first segment, identifying an operation in which the selected memory die physically stores the first data in the selected memory die after the first segment as the third operation, and predicting that the third operation will be performed during the second segment, identifying an operation of transferring the second data to the selected memory die after the first segment as the second operation, and predicting that the second operation will be performed during a third segment overlapping the second segment, and The selected memory die physically identifies an operation of storing the second data in the selected memory die after the second segment and the third segment as the fourth operation, and predicts that the fourth operation will be performed during a fourth segment.
13. The operating method according to claim 12, further comprising: include: calculating the single power by adding a first partial power, a second partial power, and a third partial power, the first partial power being obtained by predicting that a first current corresponding to the first operation will be used in the first section, the second partial power being obtained by predicting that a third current corresponding to the third operation will be used in a portion of the second section that does not overlap with the third section, and the third partial power being obtained by predicting that a fourth current corresponding to the fourth operation will be used in the fourth section; calculating a first operation current by performing an operation on the third current and a second current corresponding to the second operation; and The peak power is calculated by predicting that the first operating current will be used in the third section. 14 . The operating method according to claim 13 , wherein calculating the first operating current is performed by adding a current obtained by multiplying the second current by a first weight and a current obtained by multiplying the third current by a second weight.
15. The operating method according to claim 11, further comprising: include: When the first command is a first read command for reading third data from the selected memory die, and the second command is a second read command for reading fourth data from the selected memory die: identifying an operation of the selected memory die physically reading the third data in the selected memory die as the third operation, and predicting that the third operation will be performed during a fifth segment, identifying an operation of receiving the third data from the selected memory die after the fifth segment as the first operation, and predicting that the first operation will be performed during a sixth segment, identifying an operation in which the selected memory die physically reads the fourth data in the selected memory die after the third operation starts as the fourth operation, and predicting that the fourth operation will be performed during a seventh segment, the seventh segment overlapping at least one of the fifth segment and the sixth segment; and An operation of receiving the fourth data from the selected memory die after the sixth section and the seventh section is identified as the second operation, and the second operation is predicted to be performed during an eighth section.
16. The operating method according to claim 15, further comprising: include: The single power is calculated by adding a fourth partial power, a fifth partial power, and a sixth partial power, the fourth partial power is obtained by predicting that a third current corresponding to the third operation will be used in a portion of the fifth section that does not overlap with the seventh section, the fifth partial power is obtained by predicting that a first current corresponding to the first operation will be used in a portion of the sixth section that does not overlap with the seventh section, and the sixth partial power is obtained by predicting that a second current corresponding to the second operation will be used in the eighth section; calculating a second operation current by performing an operation on the third current and a fourth current corresponding to the fourth operation, and calculating a third operation current by performing an operation on the first current and the fourth current; and The peak power expected to be used in the seventh section is calculated by predicting that the second operating current will be used in the seventh section overlapping the fifth section and predicting that the third operating current will be used in the seventh section overlapping the sixth section.
17. The operating method according to claim 16, further comprising: include: calculating the second operating current by adding a current obtained by multiplying the third current by a third weight and a current obtained by multiplying the fourth current by a fourth weight; and The third operating current is calculated by adding a current obtained by multiplying the first current by a fifth weight and a current obtained by multiplying the fourth current by a sixth weight.
