# US 2026/0037434 A1 · Flash memory controller and compensation method for dynamically adjusting offset values of read reference voltages in response to different conditions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0037434 A1
- Document ID: US20260037434A1
- Status: Published application
- Kind: A1
- Application number: 19/248,419
- Filed: 2025-06-24
- Published: 2026-02-05
- Earliest claimed: 2024-07-30
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc
- Inventors: Jian-Dong Du; Wei-Min Lai
- Web page: https://patentgrep.com/patent/US20260037434A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7206: Reconfiguration of flash memory system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A compensation method of a flash memory controller includes: providing a first input/output interface, to be coupled between a host device and an internal bus; providing a second input/output interface, to be coupled between a flash memory device and the internal bus; providing a central processing unit to manage flash memory operations; and, generating an offset value of a specific read reference voltage to compensate a default value of the specific read reference voltage as an actual optimal value based on at least one characteristic model in response to at least one of a data retention time of the flash memory device and a cell count when the default value of the specific read reference voltage is applied.

## Claims

### Claim 1

A flash memory controller, comprising:
an internal bus;
a first input/output interface, to be coupled between a host device and the internal bus;
a second input/output interface, to be coupled between a flash memory device and the internal bus;
a central processing unit, coupled to the internal bus, for managing flash memory operations; and
an accelerator circuit, coupled to the internal bus and arranged for generating an offset value of a specific read reference voltage to compensate a default value of the specific read reference voltage as an actual optimal value based on at least one characteristic model in response to at least one of a data retention time of the flash memory device and a cell count when the default value of the specific read reference voltage is applied.

### Claim 2 (depends on 1)

The flash memory controller of claim 1, wherein the at least one characteristic model comprises a first linear model having a first linear equation:
y
=
a
×
x
+
b
;
wherein y is a data output of the first linear equation and indicates a predicted offset value of the specific read reference voltage, x is a data input of the first linear equation and indicates the cell count corresponding to the default value of the specific read reference voltage, and (a,b) are a pair of coefficients employed by the first linear equation.

### Claim 3 (depends on 2)

The flash memory controller of claim 2, wherein the accelerator circuit is arranged to perform an on-the-fly updating for the pair of coefficients (a,b) by performing following steps:
generating a predicted n-th offset value based on a n-th measured cell count and previous values of the pair of coefficients (a,b) when obtaining the n-th measured cell count and a corresponding n-th measured offset value for the specific read reference voltage;
calculating the n-th error value between the predicted n-th offset value and the corresponding n-th measured offset value;
updating a n-th adaptive gain by generating a projection of the n-th error value onto an observation space and normalizing the generated projection;
calculating and updating a n-th estimation uncertainty level by adding the n-th measured cell count multiplied by the n-th adaptive gain into a (n−1)-th estimation uncertainty level so as to indicate whether a system change occurs; and
using the previous values of coefficients (a,b), the n-th error value, and the n-th adaptive gain to compute and update next values of the pair of coefficients (a,b).

### Claim 4 (depends on 2)

The flash memory controller of claim 2, wherein the first linear model is implemented using a first lookup table storing a relation between values of the predicted offset value and values of the cell count, and the accelerator circuit is arranged to use a specific value of the cell count to query the first lookup table to directly obtain a corresponding value of the predicted offset value based on the first linear model.

### Claim 5 (depends on 1)

The flash memory controller of claim 1, wherein the at least one characteristic model further comprises a second linear model having a second linear equation:
y
=
c
×
x
+
d
;
wherein y in the second linear equation indicates the predicted offset value of the specific read reference voltage, x in the second linear equation indicates the data retention time corresponding to the flash memory device, and (c,d) are a pair of coefficients employed by the second linear equation.

### Claim 6 (depends on 5)

The flash memory controller of claim 5, wherein the second linear model is implemented using a second lookup table storing a relation between values of the predicted offset value and values of the data retention time, and the accelerator circuit is arranged to use a specific value of the data retention time to query the second lookup table to directly obtain a corresponding value of the predicted offset value based on the second linear model.

### Claim 7 (depends on 5)

The flash memory controller of claim 5, wherein the accelerator circuit uses the second linear model to output the predicted offset value in response to a corresponding value of the data retention time when the flash memory controller performs a default read operation.

### Claim 8 (depends on 5)

The flash memory controller of claim 5, wherein the accelerator circuit uses the first linear model to output the predicted offset value in response to a corresponding value of the cell count when the flash memory controller performs a read retry operation or a background scan read operation.

### Claim 9

A compensation method of a flash memory controller, comprising:
providing a first input/output interface, to be coupled between a host device and an internal bus;
providing a second input/output interface, to be coupled between a flash memory device and the internal bus;
providing a central processing unit to manage flash memory operations; and
generating an offset value of a specific read reference voltage to compensate a default value of the specific read reference voltage as an actual optimal value based on at least one characteristic model in response to at least one of a data retention time of the flash memory device and a cell count when the default value of the specific read reference voltage is applied.

### Claim 10 (depends on 9)

The compensation method of claim 9, wherein the at least one characteristic model comprises a first linear model having a first linear equation:
y
=
a
×
x
+
b
;
wherein y is a data output of the first linear equation and indicates a predicted offset value of the specific read reference voltage, x is a data input of the first linear equation and indicates the cell count corresponding to the default value of the specific read reference voltage, and (a,b) are a pair of coefficients employed by the first linear equation.

### Claim 11 (depends on 10)

The compensation method of claim 10, further comprising:
performing an on-the-fly updating for the pair of coefficients (a,b) by performing following steps:
generating a predicted n-th offset value based on a n-th measured cell count and previous values of the pair of coefficients (a,b) when obtaining the n-th measured cell count and a corresponding n-th measured offset value for the specific read reference voltage;
calculating the n-th error value between the predicted n-th offset value and the corresponding n-th measured offset value;
updating a n-th adaptive gain by generating a projection of the n-th error value onto an observation space and normalizing the generated projection;
calculating and updating a n-th estimation uncertainty level by adding the n-th measured cell count multiplied by the n-th adaptive gain into a (n−1)-th estimation uncertainty level so as to indicate whether a system change occurs; and
using the previous values of coefficients (a,b), the n-th error value, and the n-th adaptive gain to compute and update next values of the pair of coefficients (a,b).

### Claim 12 (depends on 10)

The compensation method of claim 10, wherein the first linear model is implemented using a first lookup table storing a relation between values of the predicted offset value and values of the cell count, and the method further comprises:
using a specific value of the cell count to query the first lookup table to directly obtain a corresponding value of the predicted offset value based on the first linear model.

### Claim 13 (depends on 9)

The compensation method of claim 9, wherein the at least one characteristic model further comprises a second linear model having a second linear equation:
y
=
c
×
x
+
d
;
wherein y in the second linear equation indicates the predicted offset value of the specific read reference voltage, x in the second linear equation indicates the data retention time corresponding to the flash memory device, and (c,d) are a pair of coefficients employed by the second linear equation.

### Claim 14 (depends on 13)

The compensation method of claim 13, wherein the second linear model is implemented using a second lookup table storing a relation between values of the predicted offset value and values of the data retention time, and the method further comprises:
using a specific value of the data retention time to query the second lookup table to directly obtain a corresponding value of the predicted offset value based on the second linear model.

### Claim 15 (depends on 13)

The compensation method of claim 13, further comprising:
using the second linear model to output the predicted offset value in response to a corresponding value of the data retention time when the flash memory controller performs a default read operation.

### Claim 16 (depends on 13)

The compensation method of claim 13, further comprising:
using the first linear model to output the predicted offset value in response to a corresponding value of the cell count when the flash memory controller performs a read retry operation or a background scan read operation.
