Memory controller and operating method thereof
By introducing a command generator, a calculator, and a read voltage determiner into the memory controller, the bit value inversion problem caused by random telegraph noise in memory cell read operations is solved, the read voltage is optimized, and the accuracy and error correction capability of read operations are improved.
Patent Information
- Application Number
- CN201911170720.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-05-02
- Filing Date
- 2019-11-26
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2039-11-26
AI Technical Summary
In existing technologies, bit inversion caused by random telegraph noise during memory cell read operations leads to error correction and decoding failures, and it is difficult to effectively find the optimal read voltage.
By introducing a command generator, calculator, and read voltage determiner into the memory controller, different read data are generated and compared, the number of inverted cells is calculated, and the read voltage is adjusted according to the number of inverted cells to optimize the read operation.
It improves the accuracy and error correction capability of read operations, reduces the probability of error correction decoding failure, finds and uses the optimal read voltage, and enhances the reliability of the memory system.
Smart Images

Figure CN111883198B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Korean Patent Application No. 10-2019-0051786, filed on May 2, 2019, which is hereby incorporated by reference in its entirety. Technical Field
[0003] Various embodiments of the present disclosure generally relate to a memory controller and a method of operating the memory controller, and more particularly to a memory controller for performing a read operation while changing a read voltage and a method of operating the memory controller. Background Art
[0004] A memory system may include a memory device and a memory controller.
[0005] The memory controller may control the operation of the memory device in response to a request received from the host. The memory device may store data or output the stored data under the control of the memory controller. For example, the memory device may be implemented as a volatile memory device in which the stored data is lost when the power supply is interrupted, or as a non-volatile memory device in which the stored data is retained even when the power supply is interrupted. Summary of the invention
[0006] Various embodiments of the present disclosure are directed to a memory controller for performing a read operation while changing a read voltage and a method of operating the memory controller.
[0007] Furthermore, various embodiments are directed to a memory controller that can efficiently perform a read operation for finding an optimal read voltage and a method of operating the memory controller.
[0008] An embodiment of the present disclosure may provide a memory controller. The memory controller may include: a command generator configured to generate a first read command and a second read command and output the first read command and the second read command to a memory device so that a first read operation and a second read operation are performed on a target memory cell of the memory device using a first read voltage; a calculator configured to receive first read data and second read data in response to the first read command and the second read command, compare the first read data with the second read data, and calculate the number of first inversion units and the number of second inversion units based on the result of the comparison operation, each of the first inversion units having a bit value inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inversion units having a bit value inverted from a second bit value in the first read data to a first bit value in the second read data; and a read voltage determiner configured to change the first read voltage according to the number of the first inversion units and the number of the second inversion units.
[0009] An embodiment of the present disclosure may provide a memory controller. The memory controller may include: an error correction decoder configured to perform error correction decoding on first read data corresponding to a first read operation performed on a target memory cell; a command generator configured to generate a read command and output the read command to a memory device when it is determined that the error correction decoding performed on the first read data fails, so that a second read operation is performed on the target memory cell using a second read voltage that is the same as the first read voltage used for the first read operation; a calculator configured to receive the second read data in response to the read command, compare the first read data with the second read data, and calculate the number of first inversion units and the number of second inversion units based on a result of the comparison operation, each of the first inversion units having a bit value inverted from a first bit value in the first data to a second bit value in the second data, and each of the second inversion units having a bit value inverted from a second bit value in the first read data to a first bit value in the second read data; and a read voltage determiner configured to change the first read voltage according to the number of the first inversion units and the number of the second inversion units.
[0010] An embodiment of the present disclosure may provide a method for operating a memory controller. The method may include: receiving first read data corresponding to a first read operation performed on a target memory cell using a first read voltage; receiving second read data corresponding to a second read operation performed on the target memory cell using a second read voltage, wherein the second read voltage is the same as the first read voltage; comparing the first read data with the second read data; based on a result of the comparison operation, calculating the number of first inversion units and the number of second inversion units, each of the first inversion units having a bit value inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inversion units having a bit value inverted from a second bit value in the first read data to a first bit value in the second read data; changing the first read voltage according to the number of first inversion units and the number of second inversion units.
[0011] An embodiment of the present disclosure may provide a memory system. The memory system may include: a memory device including a plurality of memory cells; and a controller adapted to sequentially perform a first read operation and a second read operation on a target memory cell among the plurality of memory cells using a set read voltage, respectively receive first read data and second read data in response to the first read operation and the second read operation, compare the first read data with the second read data, determine the number of bit pairs in which the value of a bit in the first read data is different from the value of a corresponding bit in the second read data, and adjust the set read voltage based on the result of the determination operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a diagram illustrating a memory system according to an embodiment of the present disclosure.
[0013] Figure 2 is a diagram illustrating threshold voltage distribution of memory cells.
[0014] Figure 3 is a diagram illustrating threshold voltage distributions of memory cells whose characteristics have been changed.
[0015] Figure 4 is a diagram illustrating random telegraph noise (RTN).
[0016] Figure 5 It's a picture. Figure 1 Figure 1 shows a diagram of a memory controller.
[0017] Figure 6 is a flowchart illustrating a method of operating a memory controller according to an embodiment of the present disclosure.
[0018] Figure 7is a flowchart illustrating a method of operating a memory controller according to an embodiment of the present disclosure.
[0019] Figure 8 and Fig. 9 is a graph illustrating the number of inversion cells depending on a read voltage.
[0020] Fig.10 is a diagram illustrating a memory device according to an embodiment of the present disclosure.
[0021] Fig.11 is a diagram illustrating a memory block.
[0022] Fig.12 is a diagram illustrating an example of a memory block having a 3D structure.
[0023] Fig.13 is a diagram illustrating an example of a memory block having a 3D structure.
[0024] Figures 14 to 17 The diagram includes Figure 1 and Figure 5 A diagram of an embodiment of a memory system of a memory controller. DETAILED DESCRIPTION
[0025] The specific structure and function descriptions provided herein are for describing embodiments of the present invention. The present invention can be implemented in various forms and ways and is therefore not limited to the embodiments set forth herein. Throughout the specification, references to "one embodiment", "another embodiment", etc. are not necessarily only one embodiment, and different references to any such phrases are not necessarily the same embodiment(s).
[0026] Figure 1 is a diagram illustrating a memory system 2000 according to an embodiment of the present disclosure.
[0027] refer to Figure 1 , the memory system 2000 may include a memory controller 2100 and a memory device 2200 storing data. The memory controller 2100 controls the memory device 2200 in response to a request received from the host 1000.
[0028] The host 1000 may be a device or system that stores data in the memory system 2000 or retrieves data from the memory system 2000. For example, the host 1000 may include at least one of a computer, a portable digital device, a tablet computer, a digital camera, a digital audio player, a television, a wireless communication device, or a cellular phone, but the embodiments of the present disclosure are not limited thereto.
[0029] The memory controller 2100 may control the overall operation of the memory system 2000. The memory controller 2100 may perform various operations in response to a request received from the host 1000. For example, the memory controller 2100 may perform a program operation, a read operation, and an erase operation on the memory device 2200. During a program operation, the memory controller 2100 may send a program command, an address, and data to the memory device 2200. During a read operation, the memory controller 2100 may send a read command and an address to the memory device 2200, and may receive read data from the memory device 2200. During an erase operation, the memory controller 2100 may send an erase command and an address to the memory device 2200.
[0030] The memory device 2200 may perform a program operation, a read operation, and an erase operation under the control of the memory controller 2100. The memory device 2200 may be implemented as a volatile memory device in which stored data is lost when power is interrupted or a nonvolatile memory device in which stored data is retained even when power is interrupted.
[0031] The memory device 2200 may receive a program command, an address, and data from the memory controller 2100, and may store data in response to the received program command and address. The memory device 2200 may perform a read operation in response to a read command and address received from the memory controller 2100, and may provide the read data to the memory controller 2100. The memory device 2200 may perform an erase operation in response to an erase command and address received from the memory controller 2100.
[0032] The memory device 2200 may include at least one memory block storing data. The memory block may include a plurality of memory cells. According to the number of bits that can be stored in each memory cell of the memory block, the memory block may be a single-level cell (SLC) block or an m-bit multi-level cell (MLC) block. In each SLC in the SLC block, one bit of data may be stored. In each m-bit MLC in the m-bit MLC block, m-bit data may be stored. Here, m may be a natural number of 2 or greater.
[0033] Figure 2 is a diagram illustrating threshold voltage distribution of memory cells.
[0034] Despite Figure 2 2 illustrates the threshold voltage distribution of a 2-bit MLC type memory cell by way of example, but the embodiments of the present disclosure are not limited thereto. Figure 2 , the horizontal axis indicates the threshold voltage Vth of the memory cell, and the vertical axis indicates the number of memory cells corresponding to each threshold voltage Vth.
[0035] Each 2-bit MLC may have a threshold voltage corresponding to any one of an erase state, a first program state, a second program state, and a third program state.
[0036] Ideally, the threshold voltage distributions corresponding to the multiple states may not overlap with each other. For example, immediately after performing a programming operation on the memory cell, the threshold voltage distribution E corresponding to the erased state, the threshold voltage distribution P1 corresponding to the first programming state, the threshold voltage distribution P2 corresponding to the second programming state, and the threshold voltage distribution P3 corresponding to the third programming state may not overlap with each other.
[0037] During a read operation, a read operation may be performed on the memory cells using read voltages R1, R2, and R3. The read voltage R1 may be used to distinguish memory cells corresponding to an erased state from memory cells corresponding to a first programmed state, the read voltage R2 may be used to distinguish memory cells corresponding to a first programmed state from memory cells corresponding to a second programmed state, and the read voltage R3 may be used to distinguish memory cells corresponding to a second programmed state from memory cells corresponding to a third programmed state.
[0038] Figure 3 is a diagram illustrating threshold voltage distribution of memory cells whose characteristics have been changed.
[0039] When the characteristics of the memory cell change, the threshold voltage distribution of the memory cell may change. Figure 2 The threshold voltage distribution E of the erased state can be changed to Figure 3 The threshold voltage distribution E' corresponds to Figure 2 The threshold voltage distributions P1, P2 and P3 of the programming state can be changed accordingly to Figure 3 Threshold voltage distributions P1', P2' and P3'.
[0040] For example, the characteristics of the memory cell may be related to at least one of a program / erase cycle (P / E cycle) or a retention time. A program / erase (P / E) cycle may refer to the number of program operations and erase operations performed on a memory cell. A retention time may refer to the time elapsed since a program operation was performed on the memory cell.
[0041] refer to Figure 3 , it can be seen that adjacent threshold voltage distributions overlap each other. That is, E' overlaps with P1', P1' also overlaps with P2', and P2' also overlaps with P3'.
[0042] When a read operation is performed using the read voltages R1, R2, and R3 in a state where the characteristics of the memory cell have been changed, as shown in FIG. Figure 3As shown, there may be a large number of error bits in the read data. If the number of error bits in the read data exceeds the maximum allowable number of error bits that can be corrected by the error correction circuit, the error correction decoding may fail.
[0043] Figure 4 is a diagram illustrating random telegraph noise (RTN).
[0044] exist Figure 4 2 , a threshold voltage distribution PS of memory cells having a predetermined programming state is illustrated.
[0045] During a read operation, memory cells having a threshold voltage greater than the read voltage may each indicate a first bit value (eg, “0”), while memory cells having a threshold voltage less than the read voltage may each indicate a second bit value (eg, “1”).
[0046] During a read operation, random telegraph noise (RTN) may occur when electrons are captured in or released from a memory cell. RTN can be used as a factor of the threshold voltage variation of a memory cell, so that whenever a read operation is performed on a memory cell, the threshold voltage of the memory cell may be detected as a different value due to RTN, and thus the bit value indicated by the memory cell may vary. For example, assuming that a first read operation and a second read operation are performed on a memory cell using the same read voltage, a memory cell indicating a first bit value in the first read operation may indicate a second bit value in the second read operation, and a memory cell indicating a second bit value in the first read operation may indicate a first bit value in the second read operation. That is, during multiple read operations using the same read voltage, the bit value indicated by the corresponding memory cell may be inverted due to RTN. In the following, a memory cell indicating a first bit value in the first read operation but indicating a second bit value in the second read operation is designated as a first inversion cell, and a memory cell indicating a second bit value in the first read operation but indicating a first bit value in the second read operation is designated as a second inversion cell.
[0047] In particular, a memory cell having a threshold voltage closer to the read voltage may be further affected by RTN, and thus it can be considered that it is likely that the bit value of the memory cell having a threshold voltage closer to the read voltage will be inverted.
[0048] The number of first inversion cells and the number of second inversion cells may be changed according to whether a read voltage is lower or higher than an average threshold voltage Vm in a threshold voltage distribution.
[0049] Assume that the first read operation and the second read operation are performed using a read voltage Ra lower than the average threshold voltage Vm. In this case, among the memory cells having a threshold voltage equal to the read voltage Ra, the number of the first inversion unit 402a and the number of the second inversion unit 402b may be equal to each other. The number of the first inversion unit 404a among the memory cells having a threshold voltage higher than the read voltage Ra may be greater than the number of the second inversion unit 406b among the memory cells having a threshold voltage lower than the read voltage Ra. The reason is that the number of memory cells affected by RTN is proportional to the number of memory cells having a set threshold voltage. That is, when the read voltage Ra is lower than the average threshold voltage Vm, the number of memory cells having a threshold voltage higher than the read voltage Ra may be greater than the number of memory cells having a threshold voltage lower than the read voltage Ra, and therefore the number of the first inversion unit 404a may be greater than the number of the second inversion unit 406b.
[0050] Therefore, during the first and second read operations using the read voltage Ra, the total number of first inversion units ( 402 a + 404 a ) may be greater than the total number of second inversion units ( 402 b + 406 b ).
[0051] In contrast, assuming that the first and second read operations are performed using a read voltage Rb higher than the average threshold voltage Vm, the total number of first inversion units (402c+406c) can be less than the total number of second inversion units (402d+404d) according to the same principle as when the read voltage Ra is used.
[0052] Figure 5 It is a graphic Figure 1 FIG. 2 is a diagram of a memory controller 2100 shown in FIG.
[0053] refer to Figure 5 , the memory controller 2100 may include a host interface 2110, a central processing unit (CPU) 2120, a memory interface 2130, a buffer memory 2140, an error correction circuit 2150, and an internal memory 2160. The host interface 2110, the memory interface 2130, the buffer memory 2140, the error correction circuit 2150, and the internal memory 2160 may be controlled by the CPU 2120.
[0054] The host interface 2110 may communicate with the host 1000 using various interface protocols. For example, the host interface 2110 may communicate with the host 1000 using at least one of an interface protocol such as non-volatile memory express (NVMe), peripheral component interconnect express (PCI-e or PCIe), advanced technology attachment (ATA), serial ATA (SATA), parallel ATA (PATA), universal serial bus (USB), multimedia card (MMC), enhanced small disk interface (ESDI), integrated drive electronics (IDE), mobile industry processor interface (MIPI), universal flash memory (UFS), small computer system interface (SCSI), or serial attached SCSI (SAS), but embodiments of the present disclosure are not limited thereto.
[0055] The CPU 2120 may perform various types of calculations (or operations) or generate commands and addresses in order to control the memory device 2200. For example, the CPU 2120 may generate various commands and addresses required for program operations, read operations, and erase operations in response to a request received from the host 1000.
[0056] The CPU 2120 may convert a logical address received from the host 1000 into a physical address in order to control the operation of the memory device 2200. The CPU 2120 may convert a logical address into a physical address or convert a physical address into a logical address by using an address mapping table stored in the internal memory 2160. The CPU 2120 may update the address mapping table when new data is programmed into the memory device 2200 or when data stored in the memory device 2200 is erased.
[0057] The CPU 2120 may randomize data or de-randomize randomized data. During a programming operation, the CPU 2120 may randomize data received from the host 1000 and may control the memory interface 2130 so that the randomized data may be sent to the memory device 2200. During a read operation, the CPU 2120 may de-randomize a read operation received from the memory device 2200 and may control the host interface 2110 so that the de-randomized read data may be sent to the host 1000.
[0058] The CPU 2120 may include a command generator 2120 a , an inversion cell number calculator 2120 b , and a read voltage determiner 2120 c .
[0059] The command generator 2120a may generate a read command and send the read command to the memory device 2200, so that the memory device 2200 can perform a read operation on the target memory cell. The command generator 2120a may generate a first read command and send the first read command to the memory device 2200, so that the memory device 2200 can perform a first read operation using a first read voltage.
[0060] The command generator 2120a may generate a second read command and send the second read command to the memory device 2200, so that the memory device 2200 can perform a second read operation using a second read voltage. Here, the first read voltage and the second read voltage may be the same. That is, the memory device 2200 may perform two read operations using the same read voltage.
[0061] Hereinafter, a first read operation may be first performed on a target memory cell using a set read voltage, and a second read operation may be performed on the target memory cell using the same set read voltage.
[0062] In one embodiment, when error correction decoding of the first read data corresponding to the first read command fails, the command generator 2120 a may generate a second read command and send the second read command to the memory device 2200 .
[0063] The inversion cell number calculator 2120 b may receive first read data corresponding to the first read command and second read data corresponding to the second read command.
[0064] In one embodiment, when error correction decoding of the first read data fails, the inversion cell number calculator 2120b may receive the second read data.
[0065] The inversion cell number calculator 2120b can check the inversion cells by comparing the first read data with the second read data. Each of the inversion cells can be a memory cell indicating different bit values in the first read data and the second read data. The inversion cell indicating the first bit value in the first read data but indicating the second bit value in the second read data is called the first inversion cell, and the inversion cell indicating the second bit value in the first read data but indicating the first bit value in the second read data is called the second inversion cell. Here, the first bit value can be "0" and the second bit value can be "1". In another embodiment, the convention can be reversed.
[0066] The inversion cell number calculator 2120b may calculate the number of first inversion cells and the number of second inversion cells and may provide information about the number of inversion cells to the read voltage determiner 2120c. The information about the number of inversion cells may include information about the number of first inversion cells and information about the number of second inversion cells.
[0067] The read voltage determiner 2120c may set or change the read voltage based on the information on the number of inversion cells received from the inversion cell number calculator 2120b.
[0068] In one embodiment, when the number of the first inversion unit is greater than the number of the second inversion unit, the read voltage determiner 2120c may change the first read voltage to a lower voltage. Here, when the difference between the number of the first inversion unit and the number of the second inversion unit increases, the read voltage determiner 2120c may further reduce the first read voltage. That is, the read voltage determiner 2120c may reduce the first read voltage in proportion to the difference between the number of the first inversion unit and the number of the second inversion unit. In one embodiment, regardless of the difference between the number of the first inversion unit and the number of the second inversion unit, the read voltage determiner 2120c may reduce the first read voltage by a set value.
[0069] In one embodiment, when the number of the first inversion unit is less than the number of the second inversion unit, the read voltage determiner 2120c may increase the first read voltage. Here, when the difference between the number of the first inversion unit and the number of the second inversion unit increases, the read voltage determiner 2120c may further increase the first read voltage. In one embodiment, regardless of the difference between the number of the first inversion unit and the number of the second inversion unit, the read voltage determiner 2120c may also increase the first read voltage by a set value.
[0070] The read voltage determiner 2120c may provide information about the changed first read voltage to the command generator 2120a. Therefore, the command generator 2120a may generate a command and an address and provide the command and the address to the memory device 2200 so that at least one of the first read operation and the second read operation is performed on the target memory cell using the changed first read voltage.
[0071] When error correction decoding performed on the first read data corresponding to the first read operation using the changed first read voltage passes, the read voltage determiner 2120c may determine the changed first read voltage as an optimal read voltage for the target memory cell.
[0072] The memory interface 2130 may communicate with the memory device 2200 using various interface protocols.
[0073] The buffer memory 2140 may temporarily store data when the memory controller 2100 controls the memory device 2200. For example, data received from the host 1000 may be temporarily stored in the buffer memory 2140 until the programming operation is completed. In addition, during a read operation, read data received from the memory device 2200 may also be temporarily stored in the buffer memory 2140.
[0074] The error correction circuit 2150 may perform error correction encoding during a programming operation, and may perform error correction decoding during a read operation. When performing error correction decoding, at least one of hard decision decoding and soft decision decoding may be performed. For example, the error correction circuit 2150 may perform error correction decoding using at least one of a Bose Chaudhuri, Hocquenghem (BCH) code and a low density parity check (LDPC) code, but the embodiments of the present disclosure are not limited thereto.
[0075] The error correction circuit 2150 may perform error correction encoding on the programming data, and may perform error correction decoding on the read data. The error correction circuit 2150 may have an error correction capacity of up to a certain number of error bits. For example, when the number of error bits in the read data does not exceed the error correction capacity, the error correction circuit 2150 may detect and correct errors in the read data. The error correction capacity of the error correction circuit 2150 may be regarded as the maximum allowable number of error bits. When the number of error bits in the read data exceeds the maximum allowable number of error bits, the error correction decoding may fail.
[0076] The error correction circuit 2150 may perform error correction decoding on the first read data. Thereafter, the error correction circuit 2150 may notify the CPU 2120 that the error correction decoding has passed or failed. Therefore, when the error correction decoding of the first read data passes, the CPU 2120 may send the decoded codeword to the host 1000, and when the error correction decoding fails, the CPU 2120 may control the memory device 2200 so that a second read operation is performed.
[0077] The internal memory 2160 may be used as a storage unit for storing various types of information for the operation of the memory controller 2100. The internal memory 2160 may store a plurality of tables. For example, the internal memory 2160 may store a mapping table for mapping between a logical address and a physical address.
[0078] Figure 6 is a flowchart illustrating a method of operating a memory controller according to an embodiment of the present disclosure.
[0079] refer to Figure 6At step 601, the memory controller may generate a first read command and send the first read command to the memory device so that a first read operation is performed on a target memory cell. The target memory cell may be, but is not limited to, a memory cell included in a single physical page. The first read command may be a command for instructing to perform the first read operation using a first read voltage.
[0080] At step 603 , the memory controller may receive first read data corresponding to a first read operation from a memory device.
[0081] In step 605, the memory controller may generate a second read command and send the second read command to the memory device so that a second read operation is performed on the target memory cell. The second read command may be a command for instructing to perform the second read operation using the first read voltage. That is, the first read operation and the second read operation may be performed using the same read voltage.
[0082] At step 607 , the memory controller may receive second read data corresponding to a second read operation from the memory device.
[0083] At step 609, the memory controller may calculate the number of inversion cells by comparing the first read data with the second read data. For example, the memory controller may calculate the number of first inversion cells whose bit values change from "0" to "1" and the number of second inversion cells whose bit values change from "1" to "0".
[0084] At step 611, the memory controller may change the first read voltage based on the number of the first inversion unit and the number of the second inversion unit. For example, when the number of the first inversion unit is greater than the number of the second inversion unit, the memory controller may reduce the first read voltage. For another example, when the number of the first inversion unit is less than the number of the second inversion unit, the memory controller may increase the first read voltage. That is, whether to change the read voltage and how much to change may be determined based on the number of inversion units. After changing the first read voltage, the process may return to step 601. When the number of the first inversion unit is equal to the number of the second inversion unit, the process may be terminated without performing step 601.
[0085] Figure 7 is a flowchart illustrating a method of operating a memory controller according to an embodiment of the present disclosure.
[0086] refer to Figure 7At step 701, the memory controller may generate a first read command and send the first read command to the memory device so that a first read operation is performed on a target memory cell. The target memory cell may be, but is not limited to, a memory cell included in a single physical page. The first read command may be a command for instructing to perform a first read operation using a first read voltage.
[0087] At step 703, the memory controller may receive first read data corresponding to a first read operation from a memory device. The first read data may be read data corresponding to a codeword.
[0088] At step 705, the memory controller may perform error correction decoding on the first read data. When the error included in the first read data is correctable, the memory controller may correct the corresponding error, and then may generate a decoded codeword. At step 705, when the error correction decoding has passed, that is, when a decoded codeword is generated ("Yes" at step 705), step 707 may be performed.
[0089] At step 707, the memory controller may send the decoded codeword to the host.
[0090] At step 709 , the memory controller may set the first read voltage to an optimal read voltage corresponding to the target memory cell.
[0091] As a result of the determination at step 705 , when the error correction decoding of the first read data fails (“No” at step 705 ), step 711 may be performed.
[0092] At step 711, the memory controller may generate a second read command and send the second read command to the memory device so that a second read operation is performed on the target memory cell. The second read command may be used to indicate that the second read operation is performed using the first read voltage. That is, the first read operation and the second read operation may be performed using the same read voltage.
[0093] At step 713 , the memory controller may receive second read data corresponding to a second read operation from the memory device.
[0094] At step 715, the memory controller may calculate the number of inversion cells by comparing the first read data with the second read data. For example, the memory controller may calculate the number of first inversion cells whose bit values change from "0" to "1" and the number of second inversion cells whose bit values change from "1" to "0".
[0095] At step 717, the memory controller may change the first read voltage based on the number of the first inversion unit and the number of the second inversion unit. When the number of the first inversion unit is greater than the number of the second inversion unit, the memory controller may decrease the first read voltage. When the number of the first inversion unit is less than the number of the second inversion unit, the memory controller may increase the first read voltage. When the first read voltage has been changed, the process may return to step 701. At step 701, the memory controller may generate a first read command and send the first read command to the memory device so that a first read operation using the changed first read voltage is performed on the target memory cell.
[0096] Figure 8 and Fig. 9 is a graph illustrating the number of inversion cells according to a read voltage.
[0097] exist Figure 8 , a threshold voltage distribution PS of a memory cell and first and second read data are illustrated. The threshold voltage distribution PS of the memory cell corresponds to a predetermined programming state. The first and second read data correspond to two read operations using a read voltage Ra.
[0098] refer to Figure 8 , it can be seen that the number of first inversion cells whose bit values are inverted (changed) from "0" to "1" is 4, and the number of second inversion cells whose bit values are inverted from "1" to "0" is 2. That is, the number of first inversion cells is greater than the number of second inversion cells. The fact that the number of first inversion cells is greater than the number of second inversion cells may mean that the read voltage Ra is lower than the average threshold voltage Vm of the threshold voltage distribution PS (i.e., is located to the left thereof). Therefore, when the error correction decoding of the first read data corresponding to the read voltage Ra fails, it can be determined that the read voltage is to be reduced in order to find the optimal read voltage.
[0099] exist Fig. 9 , the threshold voltage distribution PS of the memory cell and the first read data and the second read data are illustrated. The threshold voltage distribution PS of the memory cell corresponds to the set programming state. The first read data and the second read data correspond to two read operations using the read voltage Rb.
[0100] refer to Fig. 9, it can be seen that the number of first inversion cells whose bit values are inverted (changed) from "0" to "1" is 2, and the number of second inversion cells whose bit values are inverted from "1" to "0" is 4. That is, the number of first inversion cells is smaller than the number of second inversion cells. The fact that the number of first inversion cells is smaller than the number of second inversion cells may mean that the read voltage Rb is higher than the average threshold voltage Vm of the threshold voltage distribution PS (i.e., is located to the right thereof). Therefore, when the error correction decoding of the first read data corresponding to the read voltage Rb fails, it can be determined that the read voltage is to be increased in order to find the optimal read voltage.
[0101] Fig.10 is a diagram illustrating a memory device according to an embodiment of the present disclosure. Fig.10 The memory device shown in FIG. 1 can be applied to Figure 1 and Figure 5 The memory system shown.
[0102] refer to Fig.10 , the memory device 2200 may include a control logic 2210, a peripheral circuit 2220, and a memory cell array 2240. The peripheral circuit 2220 may include a voltage generator 2222, a row decoder 2224, an input and output (input / output) circuit 2226, a column decoder 2228, a page buffer group 2232, and a current sensing circuit 2234.
[0103] Control logic 2210 can be Figures 1 to 5 The peripheral circuit 2220 is controlled under the control of the memory controller 2100 shown.
[0104] The control logic 2210 may control the peripheral circuit 2220 in response to the command CMD and the address ADD received from the memory controller 2100 through the input / output circuit 2226. For example, the control logic 2210 may output an operation signal OP_CMD, a row address RADD, a column address CADD, a page buffer control signal PBSIGNALS, and an enable bit VRY_BIT<#> in response to the command CMD and the address ADD. The control logic 2210 may determine whether the verification operation is passed or failed in response to the pass signal PASS or the fail signal FAIL received from the current sensing circuit 2234.
[0105] The peripheral circuit 2220 may perform a program operation to store data in the memory cell array 2240 , a read operation to output data stored in the memory cell array 2240 , and an erase operation to erase data stored in the memory cell array 2240 .
[0106] The voltage generator 2222 may generate various operation voltages Vop for program, read, and erase operations in response to an operation signal OP_CMD received from the control logic 2210. For example, the voltage generator 2222 may transmit a program voltage, a verification voltage, a pass voltage, a read voltage, an erase voltage, and a turn-on voltage to the row decoder 2224.
[0107] The row decoder 2224 may transmit an operation voltage Vop to a local line LL coupled to a memory block selected from among memory blocks in the memory cell array 2240 in response to a row address RADD received from the control logic 2210. The local line LL may include a local word line, a local drain selection line, and a local source selection line. In addition, the local line LL may include various lines (e.g., a source line) coupled to the memory block.
[0108] The input / output circuit 2226 may transfer a command CMD and an address ADD received from a memory controller through an input / output (IO) line to the control logic 2210 , or may exchange data with the column decoder 2228 .
[0109] The column decoder 2228 may transfer data between the input / output circuit 2226 and the page buffer group 2232 in response to the column address CADD received from the control logic 2210. For example, the column decoder 2228 may exchange data with the page buffers PB1 to PBm through the data lines DL or may exchange data with the input / output circuit 2226 through the column lines CL.
[0110] The page buffer group 2232 may be coupled to the bit lines BL1 to BLm commonly coupled to the memory blocks BLK1 to BLKi. The page buffer group 2232 may include a plurality of page buffers PB1 to PBm coupled to the bit lines BL1 to BLm, respectively. For example, one page buffer may be coupled to each bit line. The page buffers PB1 to PBm may operate in response to a page buffer control signal PBSIGNALS received from the control logic 2210. During a programming operation, the page buffers PB1 to PBm may temporarily store programming data received from the memory controller, and may control the voltage applied to the bit lines BL1 to BLm based on the programming data. During a read operation, the page buffers PB1 to PBm may temporarily store data received through the bit lines BL1 to BLm, or may sense the voltage or current of the bit lines BL1 to BLm.
[0111] During a read operation or a verification operation, the current sensing circuit 2234 may generate a reference current in response to an enable bit VRY_BIT<#> received from the control logic 2210. In addition, the current sensing circuit 2234 may compare a reference voltage generated by the reference current with a sensing voltage VPB received from the page buffer group 2232, and then output a pass signal PASS or a fail signal FAIL.
[0112] The memory cell array 2240 may include a plurality of memory blocks BLK1 to BLKi in which data is stored. In the memory blocks BLK1 to BLKi, user data and various types of information required for the operation of the memory device 2200 may be stored. Each of the memory blocks BLK1 to BLKi may be implemented as a two-dimensional (2D) structure or a three-dimensional (3D) structure and may be configured identically.
[0113] Fig.11 is a diagram illustrating a memory block.
[0114] As an example, a memory cell array may include a plurality of memory blocks, and Fig.11 Any one memory block BLKi among a plurality of memory blocks is illustrated in FIG.
[0115] A plurality of word lines arranged in parallel with each other between the first selection line and the second selection line may be coupled to the memory block BLKi. The first selection line may be a source selection line SSL, and the second selection line may be a drain selection line DSL. In detail, the memory block BLKi may include a plurality of strings ST coupled between the bit lines BL1 to BLm and the source line SL. The bit lines BL1 to BLm may be coupled to the strings ST, respectively, and the source line SL may be coupled to the string ST in common. Each of the strings ST may be configured identically, and thus the string ST coupled to the first bit line BL1 is described in detail by way of example.
[0116] The string ST may include a source select transistor SST, a plurality of memory cells F1 to F16, and a drain select transistor DST coupled in series with each other between a source line SL and a first bit line BL1. A single string ST may include at least one source select transistor SST and at least one drain select transistor DST, and may also include more than 16 memory cells (F1 to F16) as shown in the figure.
[0117] The source of the source select transistor SST may be coupled to the source line SL, and the drain of the drain select transistor DST may be coupled to the first bit line BLl. The memory cells F1 to F16 may be coupled in series between the source select transistor SST and the drain select transistor DST. The gates of the source select transistors SST included in different strings ST may be coupled to the source select line SSL, the gates of the drain select transistors DST included in different strings ST may be coupled to the drain select line DSL, and the gates of the memory cells F1 to F16 may be coupled to a plurality of word lines WL1 to WL16, respectively. Among the memory cells included in different strings ST, a group of memory cells coupled to the same word line may be referred to as a "physical page (PPG)". Therefore, the memory block BLKi may include the same number of physical pages PPG as the number of word lines WL1 to WL16.
[0118] Fig.12 is a diagram illustrating an example of a memory block having a 3D structure.
[0119] The memory cell array 2240 may include a plurality of memory blocks BLK1 to BLKi. The first memory block BLK1 described as an example may include a plurality of strings ST11 to ST1m and ST21 to ST2m. In one embodiment, each of the strings ST11 to ST1m and ST21 to ST2m may be formed in a "U" shape. In the first memory block BLK1, m strings may be arranged along a row direction (e.g., an X direction). Although in Fig.12 In the embodiment of FIG. 1 , two strings arranged along the column direction (eg, the Y direction) are illustrated, but this configuration is for clarity; in another embodiment, three or more strings may be arranged in the column direction (eg, the Y direction).
[0120] Each of the plurality of strings ST11 to ST1m and ST21 to ST2m may include at least one source select transistor SST, first to nth memory cells MC1 to MCn, a pipe transistor PT, and at least one drain select transistor DST.
[0121] The source selection transistor SST and the drain selection transistor DST and the memory cells MC1 to MCn may have similar structures. Each of the source selection transistor SST and the drain selection transistor DST and the memory cells MC1 to MCn may include a channel layer, a tunnel insulating layer, a charge trapping layer and a blocking insulating layer. A guide pillar for providing a channel layer may be provided in each string. A guide pillar for providing at least one of a channel layer, a tunnel insulating layer, a charge trapping layer or a blocking insulating layer may be provided in each string.
[0122] A source selection transistor SST of each string may be coupled between a source line SL and memory cells MC1 to MCp.
[0123] In one embodiment, source selection transistors of strings arranged in the same row may be coupled to a source selection line extending in the row direction, and source selection transistors of strings arranged in different rows may be coupled to different source selection lines. Fig.12 , source selection transistors of strings ST11 to ST1m in a first row may be coupled to a first source selection line SSL1. Source selection transistors of strings ST21 to ST2m in a second row may be coupled to a second source selection line SSL2.
[0124] In other embodiments, the source selection transistors of the strings ST11 to ST1m and ST21 to ST2m may be commonly coupled to one source selection line.
[0125] The first to nth memory cells MC1 to MCn in each string may be coupled between a source select transistor SST and a drain select transistor DST.
[0126] The first to nth memory cells MC1 to MCn may be divided into the first to pth memory cells MC1 and the (p+1)th memory cells MCp+1 to the nth memory cells MCn. The first to pth memory cells MC1 to MCp may be sequentially arranged in a vertical direction (e.g., Z direction) and may be coupled in series between the source selection transistor SST and the pipe transistor PT. The (p+1)th memory cells MCp+1 to the nth memory cells MCn may be sequentially arranged in a vertical direction (e.g., Z direction) and may be coupled in series between the pipe transistor PT and the drain selection transistor DST. The first to pth memory cells MC1 and the (p+1)th memory cells MCp+1 to the nth memory cells MCn may be coupled to each other through the pipe transistor PT. The gates of the first to nth memory cells MC1 to MCn in each string may be coupled to the first to nth word lines WL1 to WLn, respectively.
[0127] In one embodiment, at least one of the first to nth memory cells MC1 to MCn may be used as a dummy memory cell. When a dummy memory cell is provided, a voltage or current of a corresponding string may be stably controlled. A gate of a pipeline transistor PT of each string may be coupled to a pipeline line PL.
[0128] The drain select transistor DST of each string may be coupled between the corresponding bit line and the memory cells MCp+1 to MCn. The strings arranged in the row direction may be coupled to the corresponding drain select lines extending in the row direction. The drain select transistors of the strings ST11 to ST1m in the first row may be coupled to the drain select line DSL1. The drain select transistors of the strings ST21 to ST2m in the second row may be coupled to the second drain select line DSL2.
[0129] The strings arranged along the column direction may be coupled to the bit lines extending along the column direction. Fig.12 , the strings ST11 and ST21 in the first column may be coupled to the first bit line BL1. The strings ST1m and ST2m in the m-th column may be coupled to the m-th bit line BLm.
[0130] Among the strings arranged in the row direction, the memory cells coupled to the same word line may constitute one page. Among the strings ST11 to ST1m in the first row, the memory cells coupled to the first word line WL1 may constitute one page. Among the strings ST21 to ST2m in the second row, the memory cells coupled to the first word line WL1 may constitute one additional page. The strings arranged in one row direction may be selected by selecting any one of the drain selection lines DSL1 and DSL2. By selecting any one of the word lines WL1 to WLn, a page may be selected from the selected string.
[0131] Fig.13 is a diagram illustrating an example of a memory block having a 3D structure.
[0132] The memory cell array 2240 includes a plurality of memory blocks BLK1 to BLKi. The first memory block BLK1 described by way of example may include a plurality of strings ST11' to ST1m' and ST21' to ST2m'. Each of the strings ST11' to ST1m' and ST21' to ST2m' may extend in a vertical direction (e.g., a Z direction). In the memory block BLKi, m' strings may be arranged in a row direction (e.g., an X direction). Although, in Fig.13 In the embodiment, two strings are illustrated as being arranged along the column direction (eg, Y direction), but this is for clarity; in another embodiment, three or more strings may be arranged in the column direction (eg, Y direction).
[0133] Each of the strings ST11 ′ to ST1 m ′ and ST21 ′ to ST2 m ′ may include at least one source select transistor SST, first to nth memory cells MC1 to MCn, and at least one drain select transistor DST.
[0134] The source select transistor SST of each string may be coupled between the source line SL and the memory cells MC1 to MCn. The source select transistors of the strings arranged in the same row may be coupled to the same source select line. The source select transistors of the strings ST11' to ST1m' arranged in the first row may be coupled to the first source select line SSL1. The source select transistors of the strings ST21' to ST2m' arranged in the second row may be coupled to the second source select line SSL2. In one embodiment, the source select transistors of the strings ST11' to ST1m' and ST21' to ST2m' may be coupled together to one source select line.
[0135] First to nth memory cells MC1 to MCn in each string may be coupled in series between source select transistors SST and drain select transistors DST. Gates of first to nth memory cells MC1 to MCn may be coupled to first to nth word lines WL1 to WLn, respectively.
[0136] In one embodiment, at least one of the first to nth memory cells MC1 to MCn may be used as a dummy memory cell. When a dummy memory cell is provided, a voltage or current of a corresponding string may be stably controlled. Thus, the reliability of data stored in the first memory block BLK1 may be improved.
[0137] The drain selection transistor DST of each string may be coupled between the corresponding bit line and the memory cells MC1 to MCn. The drain selection transistors DST of the strings arranged in the row direction may be coupled to the drain selection lines extending in the row direction. The drain selection transistors DST of the strings ST11' to ST1m' in the first row may be coupled to the first drain selection line DSL1. The drain selection transistors DST of the strings ST21' to ST2m' in the second row may be coupled to the second drain selection line DSL2.
[0138] That is, in addition to excluding the pipe transistor PT from each string, Fig.13 The equivalent circuit of the first memory block BLK1 can be similar to Fig.12 An equivalent circuit of the first memory block BLK1.
[0139] Fig.14 The diagram includes Figures 1 to 5 FIG. 30000 is a diagram of an embodiment of a memory system 30000 of a memory controller.
[0140] refer to Fig.14, the memory system 30000 may be implemented as a cellular phone, a smart phone, a tablet computer, a PC, a personal digital assistant (PDA), or a wireless communication device. The memory system 30000 may include a memory device 2200 and a memory controller 2100 capable of controlling the operation of the memory device 2200.
[0141] The memory controller 2100 may control a data access operation (eg, a program operation, an erase operation, or a read operation) of the memory device 2200 under the control of the processor 3100 .
[0142] Data programmed in the memory device 2200 may be output through the display 3200 under the control of the memory controller 2100 .
[0143] The radio transceiver 3300 can send and receive radio signals through the antenna ANT. For example, the radio transceiver 3300 can convert the radio signal received through the antenna ANT into a signal that can be processed by the processor 3100. Therefore, the processor 3100 can process the signal output from the radio transceiver 3300 and send the processed signal to the memory controller 2100 or the display 3200. The memory controller 2100 can send the signal processed by the processor 3100 to the memory device 2200. In addition, the radio transceiver 3300 can convert the signal output from the processor 3100 into a radio signal and output the radio signal to an external device through the antenna ANT. The input device 3400 can be used to input a control signal for controlling the operation of the processor 3100 or data to be processed by the processor 3100. The input device 3400 can be implemented as an indication device, a keypad or a keyboard such as a touch pad or a computer mouse. The processor 3100 may control the operation of the display 3200 so that data output from the memory controller 2100 , data output from the radio transceiver 3300 , or data output from the input device 3400 is output through the display 3200 .
[0144] In one embodiment, the memory controller 2100 capable of controlling the operation of the memory device 2200 may be implemented as a part of the processor 3100 or as a chip provided separately from the processor 3100 .
[0145] Fig.15 The diagram includes Figures 1 to 5 FIG. 4 is a diagram of an embodiment of a memory system 40000 of a memory controller.
[0146] refer to Fig.15, the memory system 40000 may be embodied in a personal computer (PC), a tablet computer, a netbook, an e-reader, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, or an MP4 player.
[0147] The memory system 40000 may include a memory device 2200 and a memory controller 2100 capable of controlling a data processing operation of the memory device 2200 .
[0148] The processor 4100 may output data stored in the memory device 2200 through the display 4300 according to data input from the input device 4200. For example, the input device 4200 may be implemented as a pointing device such as a touch pad or a computer mouse, a keypad, or a keyboard.
[0149] The processor 4100 may control the overall operation of the memory system 40000 and control the operation of the memory controller 2100. In one embodiment, the memory controller 2100 capable of controlling the operation of the memory device 2200 may be implemented as a part of the processor 4100 or a chip provided separately from the processor 4100.
[0150] Fig.16 The diagram includes Figure 1 and Figure 5 FIG. 5 is a diagram of an embodiment of a memory system 50000 of a memory controller.
[0151] refer to Fig.16 , the memory system 50000 may be embodied in an image processing apparatus, for example, a digital camera, a portable phone equipped with a digital camera, a smart phone equipped with a digital camera, or a tablet computer equipped with a digital camera.
[0152] The memory system 50000 may include a memory device 2200 and a memory controller 2100 capable of controlling a data processing operation (eg, a program operation, an erase operation, or a read operation) of the memory device 2200 .
[0153] The image sensor 5200 of the memory system 50000 may convert an optical image into a digital signal. The digital signal may be transmitted to the processor 5100 or the memory controller 2100. Under the control of the processor 5100, the digital signal may be output through the display 5300, or may be stored in the memory device 2200 through the memory controller 2100. The data stored in the memory device 2200 may be output through the display 5300 under the control of the processor 5100 or the memory controller 2100.
[0154] In one embodiment, the memory controller 2100 capable of controlling the operation of the memory device 2200 may be implemented as a part of the processor 5100 , or implemented as a chip provided separately from the processor 5100 .
[0155] Fig.17 The diagram includes Figure 1 and Figure 5 FIG. 7 is a diagram of an embodiment of a memory system 70000 of a memory controller.
[0156] refer to Fig.17 The memory system 70000 may be embodied in a memory card or a smart card. The memory system 70000 may include a memory device 2200 , a memory controller 2100 , and a card interface 7100 .
[0157] The memory controller 2100 may control data exchange between the memory device 2200 and the card interface 7100. In one embodiment, the card interface 7100 may be a secure digital (SD) card interface or a multimedia card (MMC) interface, but is not limited thereto.
[0158] The card interface 7100 can interface data exchange between the host 60000 and the memory controller 2100 according to the protocol of the host 60000. In one embodiment, the card interface 7100 can support a universal serial bus (USB) protocol and an inter-chip (IC)-USB protocol. Here, the card interface 7100 can refer to hardware capable of supporting a protocol used by the host 60000, software installed in the hardware, or a signal transmission method.
[0159] When the memory system 70000 is connected to the host interface 6200 of the host 60000 (e.g., a PC, a tablet computer, a digital camera, a digital audio player, a cellular phone, a console video game hardware, or a digital set-top box), the host interface 6200 can perform data communication with the memory device 2200 through the card interface 7100 and the memory controller 2100 under the control of the microprocessor (μP) 6100.
[0160] According to the embodiments of the present disclosure, a read operation for determining an optimum read voltage may be efficiently performed.
[0161] Although the present invention has been illustrated and described in conjunction with various embodiments, the present invention is not limited to any particular (multiple) embodiments nor to specific details. As will be appreciated by those skilled in the art based on this disclosure, various modifications may be made to any disclosed embodiment without departing from the spirit and scope of the present invention. Therefore, the present invention encompasses all such modifications that fall within the scope of the claims and their equivalents.
Claims
1. A memory controller, include: a command generator configured to generate a first read command and a second read command, and output the first read command and the second read command to a memory device so that a corresponding first read operation and a second read operation are performed on a target memory cell of the memory device using a single read voltage; a calculator configured to receive first read data and second read data in response to the first read command and the second read command, compare the first read data with the second read data, and calculate the number of first inversion cells and the number of second inversion cells based on a result of the comparison operation, each of the first inversion cells having a bit value inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inversion cells having a bit value inverted from the second bit value in the first read data to the first bit value in the second read data; as well as A read voltage determiner is configured to change the read voltage according to the number of the first inversion units and the number of the second inversion units. 2 . The memory controller according to claim 1 , wherein the read voltage determiner is configured to decrease the read voltage when it is determined that the number of the first inversion units is greater than the number of the second inversion units. 3 . The memory controller of claim 1 , wherein the read voltage determiner is configured to increase the read voltage when it is determined that the number of the first inversion units is smaller than the number of the second inversion units. 4 . The memory controller of claim 1 , wherein the read voltage determiner is configured to change the read voltage in proportion to a difference between the number of the first inversion units and the number of the second inversion units. 5 . The memory controller of claim 1 , wherein the read voltage determiner is configured to change the read voltage by a set value.
6. A memory controller, include: an error correction decoder configured to perform error correction decoding on first read data corresponding to a first read operation performed on a target memory cell; a command generator configured to, when it is determined that the error correction decoding performed on the first read data fails, generate a read command and output the read command to a memory device so that a second read operation is performed on the target memory cell using the read voltage used for the first read operation; a calculator configured to receive second read data in response to the read command, compare the first read data with the second read data, and calculate the number of first inversion cells and the number of second inversion cells based on a result of the comparison operation, each of the first inversion cells having a bit value inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inversion cells having a bit value inverted from the second bit value in the first read data to the first bit value in the second read data; as well as A read voltage determiner is configured to change the read voltage according to the number of the first inversion units and the number of the second inversion units. 7 . The memory controller of claim 6 , wherein the command generator is configured to generate a subsequent read command and output the subsequent read command to the memory device so that a third read operation is performed on the target memory cell using the changed read voltage.
8. The memory controller according to claim 7, in: The error correction decoder is configured to perform the error correction decoding on third read data corresponding to the third read operation, and The read voltage determiner is configured to determine the changed read voltage as an optimal read voltage corresponding to the target memory cell when it is determined that the error correction decoding performed on the third read data passes. 9 . The memory controller of claim 6 , wherein the read voltage determiner is configured to decrease the read voltage when it is determined that the number of the first inversion units is greater than the number of the second inversion units. 10 . The memory controller of claim 6 , wherein the read voltage determiner is configured to increase the read voltage when it is determined that the number of the first inversion units is smaller than the number of the second inversion units. 11 . The memory controller of claim 6 , wherein the read voltage determiner is configured to change the read voltage in proportion to a difference between the number of the first inversion units and the number of the second inversion units. 12 . The memory controller of claim 6 , wherein the read voltage determiner is configured to change the read voltage by a set value.
13. A method of operating a memory controller, include: receiving first read data corresponding to a first read operation performed on a target memory cell using a read voltage; receiving second read data corresponding to a second read operation performed on the target memory cell using the read voltage; comparing the first read data with the second read data; calculating the number of first inversion units and the number of second inversion units based on a result of the comparison operation, each of the first inversion units having a bit value inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inversion units having a bit value inverted from the second bit value in the first read data to the first bit value in the second read data; as well as The read voltage is changed according to the number of the first inversion units and the number of the second inversion units.
14. The method according to claim 13, further comprising: include: performing error correction decoding on the first read data, The receiving the second read data includes: when it is determined that the error correction decoding performed on the first read data fails, receiving the second read data.
15. The method according to claim 13, further comprising: include: receiving third read data corresponding to a third read operation performed on the target memory cell using the changed read voltage; performing error correction decoding on the third read data; as well as When it is determined that the error correction decoding of the third read data is passed, the changed read voltage is determined as an optimal read voltage corresponding to the target memory cell.
16. The method according to claim 13, wherein changing the read voltage include: When it is determined that the number of the first inversion units is greater than the number of the second inversion units, the read voltage is reduced.
17. The method according to claim 13, wherein changing the read voltage include: When it is determined that the number of the first inversion units is smaller than the number of the second inversion units, the read voltage is increased.
18. The method according to claim 13, wherein changing the read voltage include: The read voltage is changed in proportion to a difference between the number of the first inversion units and the number of the second inversion units.
19. The method according to claim 13, wherein changing the read voltage include: The read voltage is changed by a set value.
