# US 10,956,087 B2 · Memory controller having temperature dependent data program scheme and related method

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

- Number: US 10,956,087 B2
- Document ID: US10956087B2
- Status: Granted
- Kind: B2
- Application number: 16/405,195
- Filed: 2019-05-07
- Published: 2020-10-01
- Granted: 2021-03-23
- Earliest claimed: 2019-04-01
- Assignees: Raymx Microelectronics Corp.
- Applicants: RAYMX Microelectronics Corp.
- Inventors: Shih-Fu Huang; Cheng-Yu Chen
- Web page: https://patentgrep.com/patent/US10956087B2

## CPC

- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory controller includes: an interface configured to operably communicate with a host device; a temperature detecting circuit configured to operably detect an ambient temperature, wherein when the ambient temperature is beyond a predetermined temperature range, the temperature detecting circuit generates a control signal; and a processing circuit coupled to the interface and the temperature detecting circuit, for selecting one of a plurality of data program schemes to program data into a first storage block of a flash memory according to the control signal.

## Claims

### Claim 1

A memory controller (120), comprising:
an interface (140), configured to operably communicate with a host device;
a temperature detecting circuit (121), configured to operably detect an ambient temperature, wherein when the ambient temperature is outside a predetermined temperature range, the temperature detecting circuit (121) generates a control signal (Sc); and
a processing circuit (122), coupled to the interface (140) and the temperature detecting circuit (121), the processing circuit configured to:
select one of a plurality of data program schemes to program data into a first storage block of a flash memory (130) according to the control signal (Sc); and
select one of the plurality of data program schemes to program data into a second storage block of the flash memory (130) according to the control signal (Sc), when the ambient temperature is outside the predetermined temperature range;
wherein a first storage unit of the first storage block is a first bit number, a second storage unit of the second storage block is a second bit number, and the first bit number is greater than the second bit number;
wherein the first storage unit is a form of a quad-level cell (QLC), and the second storage unit is a form of one of a single-level cell (SLC), a multi-level cell (MLC), and a triple-level cell (TLC);
wherein when the ambient temperature falls within a first temperature interval outside the predetermined temperature range, the processing circuit (122) selects a first data program scheme from the plurality of data program schemes to program the data into the second storage block; when the ambient temperature falls within a second temperature interval outside the predetermined temperature range, the processing circuit (122) selects a second data program scheme from the plurality of data program schemes to program the data into the second storage block; wherein the second temperature interval is different from the first temperature interval, the first data program scheme and the second data program scheme are different.

### Claim 2 (depends on 1)

The memory controller (120) of claim 1, wherein the first data program scheme and the second data program scheme are different, the first data program scheme is a 3-bit data program scheme or a 2-bit data program scheme, the second data program scheme is the 2-bit data program scheme or a 1-bit data program scheme.

### Claim 3 (depends on 1)

The memory controller (120) of claim 1, further comprising:
a power management circuit (110), coupled to the temperature detecting circuit (121) and the processing circuit (122), for providing a first supply power (P3) and a second supply power (P4) to the temperature detecting circuit (121) and the processing circuit (122) respectively.

### Claim 4 (depends on 1)

The memory controller (120) of claim 1, wherein the temperature detecting circuit (121) comprises:
a temperature detecting unit (123), configured to operably detect the ambient temperature of the flash memory controller; and
a controlling unit (124), coupled to the temperature detecting unit (123), for determining if the ambient temperature is outside the predetermined temperature range, and the controlling unit (124) generates the control signal (Sc) to the processing circuit (122) when the ambient temperature is outside the predetermined temperature range.

### Claim 5 (depends on 1)

The memory controller (120) of claim 1, wherein when the ambient temperature is outside the predetermined temperature range, the processing circuit (122) is further arranged to reprogram the data stored in the first storage block of the flash memory (130) into the second storage block of the flash memory (130) according to the control signal (Sc), wherein a first storage unit of the first storage block is a first bit number, a second storage unit of the second storage block is a second bit number, and the first bit number is larger than the second bit number.

### Claim 6 (depends on 5)

The memory controller (120) of claim 5, wherein the second storage unit is a form of one of a single-level cell, a multi-level cell, and a triple-level cell, and the first storage unit is a form of a quad-level cell.

### Claim 7

A method of controlling a flash memory, comprising:
detecting an ambient temperature of the flash memory;
generating a control signal (Sc) when the ambient temperature is outside a predetermined temperature range;
selecting one of a plurality of data program schemes to program data into a first storage block of the flash memory (130) according to the control signal (Sc); and
selecting one of the plurality of data program schemes to program data into a second storage block of the flash memory (130) according to the control signal (Sc), when the ambient temperature is outside the predetermined temperature range;
wherein a first storage unit of the first storage block is a first bit number, a second storage unit of the second storage block is a second bit number, and the first bit number is greater than the second bit number;
wherein the first storage unit is a form of a quad-level cell, and the second storage unit is a form of one of a single-level cell, a multi-level cell, and a triple-level cell;
wherein the step of selecting one of the plurality of data program schemes to program the data into the second storage block of the flash memory (130) according to the control signal (Sc) comprises:
selecting a first data program scheme from the plurality of data program schemes to program the data into the second storage block when the ambient temperature falls within a first temperature interval outside the predetermined temperature range;
and
selecting a second data program scheme from the plurality of data program schemes to program the data into the second storage block when the ambient temperature falls within a second temperature interval outside the predetermined temperature range;
wherein the second temperature interval is different from the first temperature interval;
wherein the first data program scheme and the second data program scheme are different, the first data program scheme is a 3-bit data program scheme or a 2-bit data program scheme, the second data program scheme is the 2-bit data program scheme or a 1-bit data program scheme.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first data program scheme and the second data program scheme are different, the first data program scheme is a 3-bit data program scheme or a 2-bit data program scheme, the second data program scheme is the 2-bit data program scheme or a 1-bit data program scheme.

### Claim 9 (depends on 7)

The method of claim 7, further comprising:
reprograming the data stored in a first storage block of the flash memory (130) into the second storage block of the flash memory (130) according to the control signal (Sc), wherein a first storage unit of the first storage block is a first bit number, a second storage unit of the second storage block is a second bit number, and the first bit number is larger than the second bit number.

### Claim 10 (depends on 9)

The method of claim 9, wherein the second storage unit is a form of one of a single-level cell, a multi-level cell, and a triple-level cell, and the first storage unit is a form of a quad-level cell.
