Method for controlling erase initiation voltage of nand memory, nand memory, and vehicle

By detecting the threshold voltage offset and the number of erase operations of the sampled storage cells in the NAND memory, the erase start voltage is dynamically adjusted, which solves the problem of inaccurate erase start voltage adjustment in the prior art and improves the lifespan of the memory and the storage reliability of the vehicle.

CN123182733APending Publication Date: 2026-11-27BEIJING LINGHANG HUAXIN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611423720.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-25
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In the existing technology, the erase start voltage adjustment method of NAND memory fails to accurately detect the dynamic changes of the erase threshold voltage, resulting in over-erasure and under-erasure problems, which affect the memory life and reliability. In particular, the high reliability and safety requirements in extreme environments are not considered in vehicle applications.

Method used

By acquiring the first erase threshold voltage of each sampled memory cell, determining the median threshold voltage, and adjusting the erase start voltage of the NAND memory when the offset between the median threshold voltage and the reference threshold voltage meets the preset condition, the first preset threshold and step voltage are dynamically adjusted in combination with the number of erase operations to precisely adjust the erase start voltage.

Benefits of technology

It effectively reduces over-erasure and under-erasure, improves the lifespan and reliability of NAND memory, and enhances the stability and security of vehicle storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182733A_ABST
    Figure CN123182733A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method for controlling an erase starting voltage of a NAND memory, a NAND memory and a vehicle. The NAND memory has a plurality of sample storage units, and the method comprises: obtaining a first erase threshold voltage of each sample storage unit; determining a median threshold voltage according to the first erase threshold voltage of each sample storage unit; when an offset between the median threshold voltage and a reference threshold voltage meets a preset condition, performing an erase operation on each sample storage unit based on a current erase starting voltage of the NAND memory, and obtaining a first erase voltage corresponding to each sample storage unit when the sample storage unit reaches an erase state; updating the erase starting voltage of the NAND memory based on the first erase voltage corresponding to each sample storage unit; the preset condition comprises that the offset is greater than a first preset threshold; recording a number of erase operations of the NAND memory; adjusting the first preset threshold based on the number of erase operations; and the first preset threshold is negatively correlated with the number of erase operations.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related applications This application is a divisional application of Chinese invention patent application filed on February 25, 2026, with application number 202610225330.3 and entitled "Control method for erase start voltage of NAND memory, NAND memory and vehicle". Technical Field

[0002] This disclosure relates to the field of memory technology, and more specifically, to a method for controlling the erase start voltage of a NAND memory, a NAND memory, and a vehicle. Background Technology

[0003] NAND flash memory is a low-power, lightweight, and high-performance non-volatile memory product that stores data using floating-gate transistors and can be used in products such as USB flash drives, mobile devices, and vehicles.

[0004] The lifespan of NAND flash memory depends on its limited number of erase cycles, which is closely related to the erase start voltage. In related technologies, adjusting the erase start voltage as the number of erase cycles increases can easily lead to over-erasing and under-erasing, thus affecting the lifespan of the NAND flash memory. Summary of the Invention

[0005] The purpose of this disclosure is to provide a method for controlling the erase start voltage of a NAND memory, a NAND memory, and a vehicle, so as to optimize the erase start voltage of the NAND memory and improve the lifespan of the NAND memory.

[0006] To achieve the above objectives, a first aspect of this disclosure provides a method for controlling the erase start voltage of a NAND memory, the NAND memory having multiple sampling memory cells, the method comprising: Obtain the first erase threshold voltage for each of the sampled storage cells; A median threshold voltage is determined based on the first erase threshold voltage of each of the sampling storage units; When the offset between the median threshold voltage and the reference threshold voltage meets the preset condition, an erase operation is performed on each of the sampled memory cells based on the current erase start voltage of the NAND memory, and the first erase voltage corresponding to the erasure state of each sampled memory cell is obtained. The erase start voltage of the NAND memory is updated based on the first erase voltage corresponding to each of the sampling storage cells; The preset condition includes the offset being greater than a first preset threshold; The method further includes: Record the number of erase operations performed on the NAND memory; The first preset threshold is adjusted based on the number of erasure operations; wherein the first preset threshold is negatively correlated with the number of erasure operations.

[0007] A second aspect of this disclosure also provides a NAND memory including a control device for performing the method described in the first aspect.

[0008] A third aspect of this disclosure also provides a vehicle that includes a NAND memory as described in the second aspect.

[0009] The above technical solution obtains the first erase threshold voltage for each sampled memory cell of the NAND flash memory and determines the median threshold voltage. Then, when the offset between the median threshold voltage and the reference threshold voltage meets a preset condition, an erase operation is performed on each sampled memory cell based on the current erase start voltage of the NAND flash memory. The first erase voltage corresponding to each sampled memory cell reaching the erase state is obtained. Finally, the erase start voltage of the NAND flash memory is updated based on the first erase voltage corresponding to each sampled memory cell. The preset conditions include an offset greater than a first preset threshold; recording the number of erase operations of the NAND flash memory; and adjusting the first preset threshold based on the number of erase operations. The first preset threshold is negatively correlated with the number of erase operations. This method can detect dynamic changes in the erase threshold voltage and adjust the erase start voltage of the NAND flash memory based on the offset between the median threshold voltage and the reference threshold voltage. Therefore, it can more accurately adjust the erase start voltage of the NAND flash memory based on its characteristics and aging, reducing over-erasure and under-erasure, and effectively improving the lifespan of the NAND flash memory.

[0010] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description

[0011] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart illustrating a method for controlling the erase start voltage of a NAND memory according to an embodiment of this disclosure; Figure 2 This is a schematic diagram illustrating the distribution of threshold voltage as the number of erasures increases, provided in an embodiment of this disclosure. Figure 3 This is a schematic diagram of an erasure verification provided in an embodiment of this disclosure; Figure 4This is a flowchart illustrating another method for controlling the erase start voltage of a NAND memory according to an embodiment of this disclosure; Figure 5 This is a flowchart illustrating another method for controlling the erase start voltage of a NAND memory according to an embodiment of this disclosure; Figure 6 This is a block diagram of a control device for the erase start voltage of a NAND memory provided in an embodiment of this disclosure; Figure 7 This is a block diagram of a control device for the erase start voltage of another NAND memory provided in an embodiment of this disclosure. Detailed Implementation

[0012] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.

[0013] It should be understood that the various steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect. The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the description below.

[0014] NAND flash memory is widely used in products such as USB flash drives, mobile devices, and vehicles. Taking vehicles as an example, as vehicles rapidly evolve towards intelligent connectivity, emerging technologies such as 5G communication, vehicle networking, and AI (Artificial Intelligence) are accelerating their integration with the vehicle industry. ADAS (Advanced Driver Assistance Systems) and autonomous driving functions, as well as internet-based infotainment systems, generate a large amount of perception data, behavioral data, and entertainment and navigation information, placing increasing demands on the data storage of in-vehicle controllers. For instance, in the central control platform of intelligent driving vehicles, in addition to regular driving functions, it is necessary to continuously record data from various vehicle sensors and driving images. When the hardware of the vehicle's storage unit reaches its lifespan limit, the vehicle's storage controller will be unable to maintain the integrity of the file system. This degradation may lead to malfunctions in the central display screen software and may indirectly cause malfunctions in the reversing camera, defrost / defog control, and external turn signals, posing safety hazards.

[0015] The lifespan of automotive memory primarily depends on the limited number of erase cycles of its internal storage medium (NAND flash memory). This is because NAND flash memory cells require erasure before data can be written, and each erase causes minor wear and tear on the cell's physical structure. This is because each erase operation creates oxide layer defects due to electron tunneling, reducing tunneling efficiency and requiring a higher erase voltage to initiate effective erasure. Furthermore, electrons trapped by oxide layer defects create a reverse electric field, weakening the external electric field, necessitating a higher erase voltage to maintain erasure effectiveness. Additionally, as the number of erase cycles increases, the increased voltage after erasure and decreased voltage after programming narrow the threshold voltage window, requiring an even higher erase voltage to maintain distinguishability.

[0016] As the erase initiation voltage increases, the erase time becomes longer and power consumption increases. As oxide layer damage worsens, the error rate rises, increasing the requirements for error correction. Furthermore, when the erase voltage exceeds the controller's capability or the threshold voltage window cannot distinguish the state, the memory cell is marked as a bad block and can no longer reliably store data.

[0017] Furthermore, as chip manufacturing processes shrink, the intrinsic voltage of NAND memory decreases, and the erase start voltage is significantly affected by the number of erase / write cycles, thereby reducing the durability and reliability lifespan of vehicle storage.

[0018] Therefore, optimizing the erase start voltage of the NAND memory inside automotive storage is an important part of improving vehicle storage life.

[0019] In related technologies, the erase start voltage of NAND memory is adjusted as the number of programming / erasing cycles increases, for example, resetting the erase start voltage value after reaching 1000, 1500, or 2000 programming / erasing cycles. This approach only considers the impact of a fixed number of programming / erasing cycles on the erase start voltage, failing to account for the increasing differences in intrinsic threshold voltage between each memory cell as manufacturing process dimensions shrink, or the uniqueness and randomness of voltage changes in each memory cell as the number of programming / erasing cycles increases. Furthermore, for NAND memory used in vehicles, the high reliability and safety requirements of vehicle storage in extreme environments are not considered.

[0020] Optimizing the erase start voltage with a fixed number of programming / erasing cycles cannot accurately detect dynamic changes in the erase threshold voltage. If the erase start voltage is too low, the erase operation cannot be effectively initiated, electrons cannot be removed from the floating gate, leading to erase failure. If the erase start voltage is too high, although it can guarantee successful erasure, it will exacerbate damage to the tunnel oxide layer, accelerate chip aging, and shorten lifespan. In other words, over-erasing and under-erasing are prone to occur, resulting in reduced memory lifespan and reliability.

[0021] In view of this, the present disclosure provides a method for controlling the erase start voltage of a NAND memory, a NAND memory, and a vehicle to solve the above-mentioned technical problems.

[0022] This disclosure provides a method for controlling the erase start voltage of a NAND flash memory, wherein the NAND flash memory has multiple sampling memory cells. For example... Figure 1 As shown, the method includes: S101: Obtain the first erase threshold voltage for each sampled storage cell.

[0023] For example, a NAND flash memory has multiple memory blocks, each containing multiple memory cells. One or more memory blocks can be pre-selected for sampling; these blocks are also called prefabricated blocks. A memory cell consists of a floating-gate transistor, comprising a substrate, a tunneling layer, a floating gate layer, a gate isolation layer, and a control gate, stacked sequentially from bottom to top. Stored data is represented by storing or removing electrons from the floating gate. Programming refers to injecting electrons into the floating gate, making it negatively charged, thereby increasing the transistor's turn-on voltage, typically representing logic state "0". Erasing refers to removing electrons from the floating gate, returning it to a neutral or positively charged state, thereby decreasing the transistor's turn-on voltage, typically representing logic state "1".

[0024] For example, the erase threshold voltage refers to the threshold voltage of the floating gate transistor in the erase state.

[0025] S102: Determine the median threshold voltage based on the first erase threshold voltage of each sampled storage cell.

[0026] For example, multiple first erase threshold voltages are obtained, and the median value is determined as a statistic to measure the offset. This method is highly resistant to interference and is not affected by extreme values.

[0027] Other possible implementation methods include using the mean or peak value of the distribution, which can be determined according to the requirements, and this disclosure does not impose any restrictions on this.

[0028] S103: When the offset between the median threshold voltage and the reference threshold voltage meets the preset conditions, based on the current erase start voltage of the NAND memory, perform an erase operation on each sampled memory cell to obtain the first erase voltage corresponding to each sampled memory cell when it reaches the erase state.

[0029] For example, the erase operation is achieved by applying a high positive voltage (i.e., the erase voltage) to the control gate while grounding the source. This high voltage creates a strong electric field between the floating gate and the substrate, causing electrons in the floating gate to be pulled back to the substrate through the tunneling effect, thus completing the erase.

[0030] For example, an initial erase start voltage can be set, and then normal operations can be performed, such as the NAND memory starting to process user data and performing normal programming and erasing operations on the memory cells. Erasing operations can be performed periodically on pre-selected blocks, and the erase threshold voltage of all memory cells in these blocks can be measured. Then, statistical analysis can be performed on the collected erase threshold voltages to calculate the median of their distribution.

[0031] Then, the currently obtained median value is compared with the reference threshold voltage. If the offset meets the preset condition, it indicates that the memory cell has undergone significant aging, and the erase start voltage can be adjusted. If the offset does not meet the preset condition, it indicates that the memory cell aging is not yet obvious, and the erase start voltage does not need to be adjusted.

[0032] In one possible approach, the method further includes updating the value of the reference threshold voltage to the value of the median threshold voltage if the offset meets a preset condition.

[0033] For example, the initial value of the reference threshold voltage can be a preset value. Subsequently, if the offset meets a preset condition, the value of the reference threshold voltage is updated to the value of the median threshold voltage for the next comparison. Alternatively, if the offset meets a preset condition, the value of the reference threshold voltage can also be updated to the value of the median threshold voltage to track its slow natural drift. The specific settings can be customized according to requirements, and this disclosure does not impose any limitations on this.

[0034] S104: Update the erase start voltage of the NAND memory based on the first erase voltage corresponding to each sampled memory cell.

[0035] In this embodiment, the erase initiation voltage refers to the minimum voltage that needs to be applied to the control gate in order to begin effectively removing electrons from the floating gate. For a new, unused memory cell, its oxide layer is intact, and electron tunneling is relatively easy, so the required erase initiation voltage is low. When the erase operation is complete, the threshold voltage of the memory cell is pulled to a very low level (usually a negative value), indicating that it has been erased.

[0036] For example, such as Figure 2 As shown, as the number of erase cycles increases, the threshold voltage of the memory cell gradually increases, and correspondingly, the erase initiation voltage also gradually increases.

[0037] The above method can detect dynamic changes in the erase threshold voltage and adjust the erase initiation voltage of the NAND memory based on the offset between the median threshold voltage and the reference threshold voltage. This allows for more precise adjustment of the NAND memory's erase initiation voltage based on its characteristics and aging status, reducing over-erasure and under-erasure, and effectively extending the lifespan of the NAND memory. For NAND memory used in vehicles, this can effectively improve the vehicle's storage lifespan and reliability, thereby ensuring vehicle driving safety.

[0038] In some possible ways, the preset conditions include a reference threshold voltage with an offset greater than a first preset ratio.

[0039] Preferably, the method further includes: recording the number of erase operations of the NAND memory; adjusting a first preset ratio based on the number of erase operations; wherein the first preset ratio is negatively correlated with the number of erase operations.

[0040] For example, the offset here can be an absolute value, and a reference threshold voltage of a first preset ratio can be used as the basis for judging the offset. If the absolute value of the offset is greater than the reference threshold voltage of the first preset ratio, it usually indicates that the memory cell has undergone significant aging. The erase start voltage of the NAND memory can be adjusted to reduce over-erasure and under-erasure, effectively improving the lifespan of the NAND memory.

[0041] For example, the first preset ratio can be set according to needs, such as 5%, 6%, etc., and this disclosure does not limit it.

[0042] Preferably, the first preset ratio can be dynamically adjusted according to the lifespan of the NAND memory to improve the accuracy of the erase start voltage of the NAND memory. Generally speaking, the shorter the lifespan of the NAND memory, the more severe the aging of the NAND memory. Therefore, the first preset ratio can be reduced, thereby shortening the cycle of adjusting the erase start voltage, which allows for more accurate setting of the erase start voltage and improves erasure efficiency.

[0043] The lifespan of NAND flash memory is typically represented by a limited number of erase cycles. By recording the number of erase cycles, a higher number of erase cycles results in a shorter lifespan and a smaller first preset ratio. Alternatively, the remaining erasable cycles of the NAND flash memory can be determined based on the number of erase cycles; fewer remaining erasable cycles result in a shorter lifespan and a smaller first preset ratio. In other words, the first preset ratio is negatively correlated with the number of erase cycles and positively correlated with the remaining erasable cycles.

[0044] Among the possible methods, the preset conditions include an offset greater than a first preset threshold.

[0045] Preferably, the method further includes: recording the number of erase operations of the NAND memory; adjusting a first preset threshold based on the number of erase operations; wherein the first preset threshold is negatively correlated with the number of erase operations.

[0046] For example, the offset here can be an absolute value, and a first preset threshold is set as the judgment benchmark for the offset. When the absolute value of the offset is greater than the first preset threshold, it usually indicates that the memory cell has undergone significant aging. The erase start voltage of the NAND memory can be adjusted to reduce over-erasure and under-erasure, effectively improving the lifespan of the NAND memory.

[0047] For example, the first preset threshold can be set according to requirements, such as 0.2V, 0.3V, etc., and this disclosure does not limit it.

[0048] Preferably, the first preset threshold can be dynamically adjusted according to the lifespan of the NAND memory to improve the accuracy of the erase start voltage of the NAND memory. Generally speaking, the shorter the lifespan of the NAND memory, the more severe the aging of the NAND memory. Therefore, the first preset threshold can be reduced, thereby shortening the cycle of adjusting the erase start voltage, which allows for more accurate setting of the erase start voltage and improves the erase efficiency.

[0049] The lifespan of NAND flash memory is typically represented by a limited number of erase cycles. By recording the number of erase cycles, a higher number of erase cycles results in a shorter lifespan and a smaller first preset threshold. Alternatively, the remaining erasable cycles of the NAND flash memory can be determined based on the number of erase cycles; fewer remaining erasable cycles result in a shorter lifespan and a smaller first preset threshold. In other words, the first preset threshold is negatively correlated with the number of erase cycles and positively correlated with the remaining erasable cycles.

[0050] In one possible approach, based on the current erase start voltage of the NAND memory, an erase operation is performed on each sampled memory cell to obtain the first erase voltage corresponding to the erasure state of each sampled memory cell. This includes: for each sampled memory cell, repeating the following steps until the first erase voltage corresponding to the erasure state of the sampled memory cell is determined: applying an erase voltage pulse to the sampled memory cell based on the first voltage, wherein the initial value of the first voltage is the current erase start voltage of the NAND memory; obtaining a second erase threshold voltage for the sampled memory cell; if the second erase threshold voltage is lower than a preset erase verification voltage, then the first voltage is determined as the first erase voltage corresponding to the erasure state of the sampled memory cell; if the second erase threshold voltage is not lower than the erase verification voltage, then the first voltage is adjusted based on a preset step voltage.

[0051] For example, such as Figure 3 As shown, the process first performs an erase operation on each sampled memory cell based on the erase start voltage of the NAND memory, applying a series of short voltage pulses with gradually increasing amplitude (preset step voltage). After each pulse, an erase verification is performed to check if the current threshold voltage of the memory cell has fallen below the erase verification voltage (reaching the erase state). The erase verification voltage can be a negative value. Once the verification passes, the process stops immediately to avoid unnecessary over-erasure. If the erase verification fails, the erase operation is repeated until the threshold voltage of all memory cells reaches the erase state, at which point the erase operation ends.

[0052] In some possible embodiments, the method further includes: recording the number of erase operations of the NAND memory; adjusting a preset step voltage based on the number of erase operations; wherein the preset step voltage is positively correlated with the number of erase operations.

[0053] For example, the preset step voltage can be dynamically adjusted based on the lifespan of the NAND memory. Generally, the shorter the lifespan of the NAND memory, the more severe the aging of the NAND memory, thus requiring a higher erase voltage to maintain the erasure effect. If the preset step voltage is low, the erase voltage needs to be increased multiple times within one erase cycle to complete the erase, resulting in low efficiency. Therefore, the preset step voltage can be increased to improve the erase efficiency. The preset step voltage is positively correlated with the number of erase cycles and negatively correlated with the remaining number of erase cycles.

[0054] In one possible manner, the initial erase start voltage of the NAND memory is determined as follows: an erase operation is first performed on multiple sampled memory cells to obtain a third erase voltage at which each sampled memory cell reaches the erase state; based on the third erase voltage at which each sampled memory cell reaches the erase state, the initial erase start voltage of the NAND memory is determined, such that 50% of the sampled memory cells can reach the erase state.

[0055] For example, for a new, unused NAND memory, the erase voltage at which each sampled memory cell reaches the erase state can be collected. When performing an erase operation on multiple sampled memory cells for the first time, the erase operation can be performed based on a preset erase start voltage.

[0056] For example, based on the erase voltage at which each sampled memory cell reaches the erase state, the erase voltage that enables 50% of the sampled memory cells to reach the erase state is determined as the initial erase start voltage. This effectively avoids the over-erasing and under-erasing phenomena that occur when using a uniform erase start voltage for erasing operations due to the different intrinsic threshold voltages of the memory cells.

[0057] In one possible approach, updating the erase start voltage of the NAND memory based on the first erase voltage corresponding to each sampled storage cell includes: determining a second erase voltage based on the first erase voltage corresponding to each sampled storage cell, wherein the second erase voltage enables a second preset proportion of sampled storage cells to reach the erase state; and updating the value of the erase start voltage of the NAND memory to the value of the second erase voltage.

[0058] For example, updating the erase start voltage of the NAND memory is similar to setting the initial erase start voltage of the NAND memory. Based on the erase voltage of each sampled memory cell that reaches the erase state, the erase voltage that can make a preset proportion of sampled memory cells reach the erase state is determined as the new erase start voltage. The preset proportion can be greater than or equal to 50%.

[0059] It should be understood that as NAND memory is used and the number of erase cycles increases, the erase threshold voltage will change. By collecting the changes in the erase threshold voltage of each sampled memory cell in real time and adaptively adjusting the erase start voltage of the NAND memory, the phenomenon of over-erasing and under-erasing that occurs when using a uniform erase start voltage for erasing operations is effectively avoided due to the different intrinsic threshold voltages of memory cells.

[0060] In some possible embodiments, the method further includes: recording the number of erase operations on the NAND memory; updating a second preset ratio based on the number of erase operations; wherein the second preset ratio is positively correlated with the number of erase operations.

[0061] Preferably, the second preset ratio can be dynamically adjusted according to the lifespan of the NAND memory to improve the accuracy of the erase start voltage of the NAND memory. Generally, the shorter the lifespan of the NAND memory, the more severe the aging of the NAND memory. Therefore, the second preset ratio can be increased, thereby shortening the time of one erase cycle and effectively improving the erase efficiency. The second preset ratio can be positively correlated with the number of erase cycles or negatively correlated with the remaining number of erase cycles.

[0062] Using the above methods, such as Figure 4 As shown, a pre-selected block is initialized, and the initial erase start voltage of the NAND memory is set. Then, normal programming and erasing operations are performed on the memory cells. Erasing operations can be performed on the pre-selected blocks periodically, and the erase threshold voltage distribution of all memory cells in these blocks can be measured. The median of this distribution is calculated, and then compared with a reference threshold voltage. If the offset meets a preset condition, it indicates that the memory cell has undergone significant aging, and the erase start voltage can be adjusted. If the offset does not meet the preset condition, it indicates that the memory cell aging is not yet significant, and the erase start voltage does not need to be adjusted.

[0063] For example, the initial value of the reference threshold voltage can be a preset value. Subsequently, if the offset meets the preset condition, the reference threshold voltage value is updated to the aforementioned median value for the next comparison. Alternatively, if the offset meets the preset condition, the reference threshold voltage value can be updated to the median threshold voltage value to track its slow natural drift. The specific settings can be customized according to requirements, and this disclosure does not impose any limitations. This allows for more precise adjustment of the NAND flash memory's erase initiation voltage based on the characteristics and aging of the NAND flash memory, reducing over-erasure and under-erasure, and effectively improving the lifespan of the NAND flash memory. For NAND flash memory used in vehicles, this can effectively improve the vehicle's storage lifespan and storage reliability, thereby ensuring vehicle driving safety.

[0064] The above method infers the health status of the entire memory by detecting a representative sample (pre-built block) and takes proactive measures (adjusting the erase initiation voltage) before problems occur (such as erase failure or over-erasure), thereby ensuring extremely high vehicle storage reliability and stability.

[0065] Based on the same concept, embodiments of this disclosure provide a method for controlling the erase start voltage of a NAND memory, wherein the NAND memory has multiple sampling memory cells. For example... Figure 5 As shown, the method includes: S501: Increment the count value on the counter for each erase operation of the NAND memory.

[0066] S502: Determine whether the count value is equal to the preset number of cycles.

[0067] S503: If so, the counter is reset to zero, and an erase operation is performed on each sampled memory cell based on the current erase start voltage of the NAND memory to obtain the first erase voltage corresponding to each sampled memory cell when it reaches the erase state.

[0068] The method involves performing an erase operation on each sampled memory cell based on the current erase start voltage of the NAND memory, and obtaining the first erase voltage corresponding to the erase state of each sampled memory cell. This includes: for each sampled memory cell, repeating the following steps until the first erase voltage corresponding to the erase state of the sampled memory cell is determined: applying an erase voltage pulse to the sampled memory cell based on the first voltage, wherein the initial value of the first voltage is the current erase start voltage of the NAND memory; obtaining the erase threshold voltage of the sampled memory cell; if the erase threshold voltage is lower than a preset erase verification voltage, then determining the first voltage as the first erase voltage corresponding to the erase state of the sampled memory cell; if the erase threshold voltage is not lower than the erase verification voltage, then adjusting the first voltage based on a preset step voltage.

[0069] For example, such as Figure 3 As shown, the process first performs an erase operation on each sampled memory cell based on the erase start voltage of the NAND memory, applying a series of short voltage pulses with gradually increasing amplitude (preset step voltage). After each pulse, an erase verification is performed to check if the current threshold voltage of the memory cell has fallen below the erase verification voltage (reaching the erase state). The erase verification voltage can be a negative value. Once the verification passes, the process stops immediately to avoid unnecessary over-erasure. If the erase verification fails, the erase operation is repeated until the threshold voltage of all memory cells reaches the erase state, at which point the erase operation ends.

[0070] Preferably, the method further includes: recording the number of erase operations of the NAND memory; adjusting a preset step voltage based on the number of erase operations; wherein the preset step voltage is positively correlated with the number of erase operations.

[0071] For example, the preset step voltage can be dynamically adjusted based on the lifespan of the NAND memory. Generally, the shorter the lifespan of the NAND memory, the more severe the aging of the NAND memory, thus requiring a higher erase voltage to maintain the erasure effect. If the preset step voltage is low, the erase voltage needs to be increased multiple times within one erase cycle to complete the erase, resulting in low efficiency. Therefore, the preset step voltage can be increased to improve the erase efficiency. The preset step voltage is positively correlated with the number of erase cycles and negatively correlated with the remaining number of erase cycles.

[0072] S504: Update the erase start voltage of the NAND memory based on the first erase voltage corresponding to the erasure state of each sampled memory cell.

[0073] By sampling the above method, the erase initiation voltage of the NAND memory can be adjusted based on its aging condition, reducing over-erasure and under-erasure, and effectively improving the lifespan of the NAND memory. Furthermore, by precisely adjusting the step voltage in each erase cycle in conjunction with the lifespan of the NAND memory, the erasure efficiency and flexibility of the NAND memory can be effectively improved.

[0074] In one possible manner, the initial erase start voltage of the NAND memory is determined as follows: an initial erase operation is performed on multiple sampled memory cells for the first time to obtain the initial erase voltage at which each sampled memory cell reaches the erase state; based on the initial erase voltage at which each sampled memory cell reaches the erase state, the initial erase start voltage of the NAND memory is determined, such that the initial erase start voltage enables 50% of the sampled memory cells to reach the erase state.

[0075] For example, for a new, unused NAND memory, the erase voltage at which each sampled memory cell reaches the erase state can be collected. When performing an erase operation on multiple sampled memory cells for the first time, the erase operation can be performed based on a preset erase start voltage.

[0076] For example, based on the erase voltage at which each sampled memory cell reaches the erase state, the erase voltage that enables 50% of the sampled memory cells to reach the erase state is determined as the initial erase start voltage. This effectively avoids the over-erasing and under-erasing phenomena that occur when using a uniform erase start voltage for erasing operations due to the different intrinsic threshold voltages of the memory cells.

[0077] In one possible approach, updating the erase start voltage of the NAND memory based on the first erase voltage corresponding to each sampled storage cell includes: determining a second erase voltage based on the first erase voltage corresponding to each sampled storage cell, wherein the second erase voltage enables a second preset proportion of sampled storage cells to reach the erase state; and updating the value of the erase start voltage of the NAND memory to the value of the second erase voltage.

[0078] For example, updating the erase start voltage of the NAND memory is similar to setting the initial erase start voltage of the NAND memory. Based on the erase voltage of each sampled memory cell that reaches the erase state, the erase voltage that can make a preset proportion of sampled memory cells reach the erase state is determined as the new erase start voltage. The preset proportion can be greater than or equal to 50%.

[0079] It should be understood that as NAND memory is used and the number of erase cycles increases, the erase threshold voltage will change. By collecting the changes in the erase threshold voltage of each sampled memory cell in real time and adaptively adjusting the erase start voltage of the NAND memory, the phenomenon of over-erasing and under-erasing that occurs when using a uniform erase start voltage for erasing operations is effectively avoided due to the different intrinsic threshold voltages of memory cells.

[0080] In some possible embodiments, the method further includes: recording the number of erase operations on the NAND memory; updating a preset ratio based on the number of erase operations; wherein the preset ratio is positively correlated with the number of erase operations.

[0081] Preferably, the preset ratio can be dynamically adjusted according to the lifespan of the NAND memory to improve the accuracy of the erase start voltage of the NAND memory. Generally, the shorter the lifespan of the NAND memory, the more severe the aging of the NAND memory. Therefore, the preset ratio can be increased to shorten the time of one erase cycle and effectively improve the erase efficiency. The preset ratio can be positively correlated with the number of erase cycles or negatively correlated with the remaining number of erase cycles.

[0082] Figure 6 This is a block diagram illustrating a control device for the erase start voltage of a NAND memory according to an exemplary embodiment. The NAND memory has multiple sampling memory cells, such as... Figure 6 As shown, the control device 600 includes: The acquisition module 601 is used to acquire the first erase threshold voltage of each of the sampling storage units; The determining module 602 is used to determine the median threshold voltage based on the first erase threshold voltage of each of the sampling storage units; The erase module 603 is used to perform an erase operation on each of the sampled storage cells based on the current erase start voltage of the NAND memory when the offset between the median threshold voltage and the reference threshold voltage meets the preset conditions, and to obtain the first erase voltage corresponding to each sampled storage cell when it reaches the erase state. The update module 604 is used to update the erase start voltage of the NAND memory based on the first erase voltage corresponding to each of the sampled storage cells.

[0083] Optionally, the control device 600 further includes: The update submodule is used to update the value of the reference threshold voltage to the value of the median threshold voltage when the offset meets the preset condition.

[0084] Optionally, the preset condition includes a reference threshold voltage where the offset is greater than a first preset ratio; Preferably, the control device 600 further includes a first adjustment module, used for: Record the number of erase operations performed on the NAND memory; The first preset ratio is adjusted based on the number of erasing operations; wherein the first preset ratio is negatively correlated with the number of erasing operations.

[0085] Optionally, the preset condition includes the offset being greater than a first preset threshold. Preferably, the control device 600 further includes a second adjustment module, used for: Record the number of erase operations performed on the NAND memory; The first preset threshold is adjusted based on the number of erasure operations; wherein the first preset threshold is negatively correlated with the number of erasure operations.

[0086] Optionally, the erasing module 603 is used for: For each of the sampling memory cells, the following steps are repeated until the first erase voltage corresponding to when the sampling memory cell reaches the erase state is determined: An erase voltage pulse is applied to the sampling memory cell based on a first voltage, wherein the initial value of the first voltage is the current erase start voltage of the NAND memory; Obtain the second erase threshold voltage of the sampling storage unit; If the second erase threshold voltage is lower than the preset erase verification voltage, then the first voltage is determined as the first erase voltage corresponding to when the sampling storage unit reaches the erase state; If the second erase threshold voltage is not lower than the erase verification voltage, then the first voltage is adjusted based on the preset step voltage.

[0087] Optionally, the control device 600 further includes a third adjustment module for: Record the number of erase operations performed on the NAND memory; The preset step voltage is adjusted based on the number of erasing operations; wherein the preset step voltage is positively correlated with the number of erasing operations.

[0088] Optionally, the update module 604 is used to: Based on the first erase voltage corresponding to each of the sampling storage units, a second erase voltage is determined, wherein the second erase voltage enables a second preset proportion of sampling storage units to reach the erase state; The erase start voltage value of the NAND memory is updated to the value of the second erase voltage.

[0089] Optionally, the control device 600 further includes a fourth adjustment module for: Record the number of erase operations performed on the NAND memory; The second preset ratio is updated based on the number of erasing operations; wherein the second preset ratio is positively correlated with the number of erasing operations.

[0090] Figure 7 This is a block diagram illustrating a control device for the erase start voltage of another NAND memory according to an exemplary embodiment. The NAND memory has multiple sampling memory cells, such as... Figure 7 As shown, the control device 700 includes: The first erase module 701 is used to increment the count value on the counter for each erase operation of the NAND memory; The judgment module 702 is used to determine whether the count value is equal to the preset number of cycles.

[0091] The second erase module 703 is used to, if so, reset the counter to zero, perform an erase operation on each sampled memory cell based on the current erase start voltage of the NAND memory, and obtain the first erase voltage corresponding to each sampled memory cell when it reaches the erase state.

[0092] The update module 704 is used to update the erase start voltage of the NAND memory based on the first erase voltage corresponding to the erasure state of each sampled storage cell.

[0093] Optionally, the second erase module 703 is configured to: for each sampled storage cell, repeatedly execute the following steps until a first erase voltage corresponding to the sampled storage cell reaching the erase state is determined: apply an erase voltage pulse to the sampled storage cell based on the first voltage, wherein the initial value of the first voltage is the current erase start voltage of the NAND memory; obtain the erase threshold voltage of the sampled storage cell; if the erase threshold voltage is lower than a preset erase verification voltage, then determine the first voltage as the first erase voltage corresponding to the sampled storage cell reaching the erase state; if the erase threshold voltage is not lower than the erase verification voltage, then adjust the first voltage based on a preset step voltage.

[0094] Preferably, the control device 700 further includes a first adjustment module, used for: recording the number of erase operations of the NAND memory; adjusting a preset step voltage based on the number of erase operations; wherein the preset step voltage is positively correlated with the number of erase operations.

[0095] Optionally, the update module 704 is configured to: determine a second erase voltage based on a first erase voltage corresponding to each sampled storage unit, wherein the second erase voltage enables a second preset proportion of sampled storage units to reach the erase state; and update the value of the erase start voltage of the NAND memory to the value of the second erase voltage.

[0096] Optionally, the control device 700 further includes a second adjustment module, used for: recording the number of erase operations of the NAND memory; updating a preset ratio based on the number of erase operations; wherein the preset ratio is positively correlated with the number of erase operations.

[0097] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0098] This disclosure also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method for controlling the erase start voltage of the NAND memory provided in the above method embodiments.

[0099] This disclosure also provides a NAND memory including the above-described control device, the control device being used to execute the steps of the above-described NAND memory erase start voltage control method.

[0100] This disclosure also provides a vehicle that includes the aforementioned NAND memory.

[0101] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.

[0102] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.

[0103] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.

Claims

1. A method for controlling the erase start voltage of a NAND memory, characterized in that, The NAND memory has multiple sampling storage cells, and the method includes: Obtain the first erase threshold voltage for each of the sampled storage cells; A median threshold voltage is determined based on the first erase threshold voltage of each of the sampling storage units; When the offset between the median threshold voltage and the reference threshold voltage meets the preset condition, an erase operation is performed on each of the sampled memory cells based on the current erase start voltage of the NAND memory, and the first erase voltage corresponding to the erasure state of each sampled memory cell is obtained. The erase start voltage of the NAND memory is updated based on the first erase voltage corresponding to each of the sampling storage cells; The preset condition includes the offset being greater than a first preset threshold; The method further includes: Record the number of erase operations performed on the NAND memory; The first preset threshold is adjusted based on the number of erasure operations; wherein the first preset threshold is negatively correlated with the number of erasure operations.

2. The method according to claim 1, characterized in that, The method further includes: If the offset satisfies the preset condition, the value of the reference threshold voltage is updated to the value of the median threshold voltage.

3. The method according to claim 1 or 2, characterized in that, The step of performing an erase operation on each sampled memory cell based on the current erase start voltage of the NAND memory, and obtaining the first erase voltage corresponding to the erasure state of each sampled memory cell, includes: For each of the sampling memory cells, the following steps are repeated until the first erase voltage corresponding to when the sampling memory cell reaches the erase state is determined: An erase voltage pulse is applied to the sampling memory cell based on a first voltage, wherein the initial value of the first voltage is the current erase start voltage of the NAND memory; Obtain the second erase threshold voltage of the sampling storage unit; If the second erase threshold voltage is lower than the preset erase verification voltage, then the first voltage is determined as the first erase voltage corresponding to when the sampling storage unit reaches the erase state; If the second erase threshold voltage is not lower than the erase verification voltage, then the first voltage is adjusted based on the preset step voltage.

4. The method according to claim 3, characterized in that, The method further includes: Record the number of erase operations performed on the NAND memory; The preset step voltage is adjusted based on the number of erasing operations; wherein the preset step voltage is positively correlated with the number of erasing operations.

5. The method according to claim 1 or 2, characterized in that, The step of updating the erase start voltage of the NAND memory based on the first erase voltage corresponding to each of the sampled storage cells includes: Based on the first erase voltage corresponding to each of the sampling storage units, a second erase voltage is determined, wherein the second erase voltage enables a second preset proportion of sampling storage units to reach the erase state; The erase start voltage value of the NAND memory is updated to the value of the second erase voltage.

6. The method according to claim 5, characterized in that, The method further includes: Record the number of erase operations performed on the NAND memory; The second preset ratio is updated based on the number of erasing operations; wherein the second preset ratio is positively correlated with the number of erasing operations.

7. A NAND memory, characterized in that, The NAND memory includes a control device for performing the method according to any one of claims 1-6.

8. A vehicle, characterized in that, The vehicle includes the NAND memory as described in claim 7.