# US 2025/0166685 A1 · Read offset compensator for adjusting reference resistance using coarse offset reference resistance and fine offset reference resistance, and memory device including the same

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

- Number: US 2025/0166685 A1
- Document ID: US20250166685A1
- Status: Published application
- Kind: A1
- Application number: 18/900,110
- Filed: 2024-09-27
- Published: 2025-05-22
- Earliest claimed: 2023-11-16
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Gyuseong KANG; Dohui KIM
- Web page: https://patentgrep.com/patent/US20250166685A1

## CPC

- G11C 11/1673: {Reading or sensing circuits or methods}
- G11C 11/1653: {Address circuits or decoders}
- G11C 11/161: {details concerning the memory cell structure, e.g. the layers of the ferromagnetic memory cell}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Disclosed is a method and a memory device implementing the method. The method may include searching for a number of fail bits of output data output from a memory cell array of the memory device; determining a coarse offset reference resistance; searching for a number of fail bits of a first output data within a first reference resistance range based on the coarse offset reference resistance, determining a first fine offset reference resistance; searching for a number of fail bits of the second output data within a second reference resistance range based on the coarse offset reference resistance, determining a second fine offset reference resistance; and adjusting a reference resistance for a read operation using the coarse offset reference resistance and fine offset reference resistances, the fine offset reference resistances comprising resistances from the first fine offset reference resistance to the second fine offset reference resistance.

## Claims

### Claim 1

A read offset compensator, the read offset compensator comprising:
a coarse offset reference resistance generator configured to:
determine whether a number of fail bits of output data of a memory device is less than or equal to a reference value, and
determine a coarse offset reference resistance based on the number of fail bits of the output data being less than or equal to the reference value;
a first fine offset reference resistance generator configured to:
determine a number of fail bits of first output data of the memory device within a first reference resistance range based on the coarse offset reference resistance,
determine whether the number of fail bits of the first output data is less than or equal to the reference value, and
determine a first fine offset reference resistance based on the number of fail bits of the first output data being less than or equal to the reference value;
a second fine offset reference resistance generator configured to:
determine a number of fail bits of second output data of the memory device within a second reference resistance range based on the coarse offset reference resistance,
determine whether the number of fail bits of the second output data is less than or equal to the reference value, and
determine a second fine offset reference resistance based on the number of fail bits of the second output data being less than or equal to the reference value;
a first sense amplifier offset compensator configured to:
receive the coarse offset reference resistance and the first fine offset reference resistance, and
adjust a first offset reference resistance; and
a second sense amplifier offset compensator configured to:
receive the coarse offset reference resistance and the second fine offset reference resistance, and
adjust a second offset reference resistance,
wherein each sense amplifier offset compensator from the first sense amplifier offset compensator to the second sense amplifier offset compensator is further configured to:
calculate a respective local resistance for compensating a respective offset reference resistance for a respective sense amplifier during offset reference resistance compensation, and
adjust a respective reference resistance for a read operation based on the respective local resistance.

### Claim 2 (depends on 1)

The read offset compensator of claim 1, wherein the first sense amplifier offset compensator comprises:
an adder configured to calculate a first local resistance using the coarse offset reference resistance and the first fine offset reference resistance; and
a reference resistance regulator configured to receive the first local resistance from the adder and adjust a first reference resistance.

### Claim 3 (depends on 2)

The read offset compensator of claim 2, wherein the reference resistance regulator is further configured to:
adjust a first reference voltage by controlling the first reference resistance for the read operation, and
provide a first adjusted reference voltage to a first sense amplifier.

### Claim 4 (depends on 1)

The read offset compensator of claim 1, wherein memory cells of the memory device are written with same data before the offset reference resistance compensation.

### Claim 5 (depends on 1)

The read offset compensator of claim 1, wherein the coarse offset reference resistance generator comprises:
a fail bit counter configured to count the number of fail bits of the output data of the memory device;
a Ref_P1 finder configured to search for an offset reference resistance Ref_P1 at which a first pass result is generated while performing a fail bit search operation;
a Ref_PL finder configured to search for an offset reference resistance Ref_PL at which a last pass result is generated after the offset reference resistance Ref_P1; and
a Ref_X generator configured to generate a coarse offset reference resistance Ref_X using the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL.

### Claim 6 (depends on 5)

The read offset compensator of claim 5, wherein the fail bit search operation is a linear search or a binary search.

### Claim 7 (depends on 5)

The read offset compensator of claim 5, wherein the Ref_X generator calculates the coarse offset reference resistance Ref_X using an average value of the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL.

### Claim 8 (depends on 5)

The read offset compensator of claim 5, wherein the second fine offset reference resistance generator is further configured to:
count the number of fail bits of the second output data,
search the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL while performing the fail bit search operation, and
generate the second fine offset reference resistance using the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL, wherein the second fine offset reference resistance is a second fine offset reference resistance Ref_Zn.

### Claim 9 (depends on 8)

The read offset compensator of claim 8, wherein the fail bit search operation for the Ref_Zn is linear search or binary search.

### Claim 10 (depends on 1)

The read offset compensator of claim 1, wherein each sense amplifier offset compensator from the first sense amplifier offset compensator to the second sense amplifier offset compensator is further configured to:
calculate the respective offset reference resistance with a respective temperature compensation during the offset reference resistance compensation, and
adjust the respective reference resistance for the read operation based on the respective local resistance and the respective temperature compensation.

### Claim 11

A memory device comprising:
memory cell array comprising a plurality of memory cells;
a row decoder connected to the memory cell array through word lines;
a column decoder connected to the memory cell array through bit lines and source lines;
a sense amplifier configured to read data stored in selected memory cells by detecting the difference between the source line voltage and the reference voltage during a read operation; and
a controller configured to have a read offset compensator for performing an offset reference resistance compensation,
wherein the read offset compensator is configured to:
receive output data from the sense amplifier,
search for a number of fail bits of the output data to determine a coarse offset reference resistance,
detect a number of fail bits of first output data within a first reference resistance range based on the coarse offset reference resistance to determine a first fine offset reference resistance,
search for a number of fail bits of second output data within a second reference resistance range based on the coarse offset reference resistance to determine a second fine offset reference resistance, and
adjust a reference resistance for the read operation using the coarse offset reference resistance and fine offset reference resistances, the fine offset reference resistances comprising resistances from the first fine offset reference resistance to the second fine offset reference resistance.

### Claim 12 (depends on 11)

The memory device of claim 11, wherein the read offset compensator comprises:
a first sense amplifier offset compensator configured to:
receive the coarse offset reference resistance and the first fine offset reference resistance; and
adjust a first offset reference resistance; and
a second sense amplifier offset compensator configured to:
receive the coarse offset reference resistance and the second fine offset reference resistance; and
adjust a second offset reference resistance,
wherein each sense amplifier offset compensator from the first sense amplifier offset compensator to the second sense amplifier offset compensator is further configured to:
calculate a respective local resistance for compensating a respective offset reference resistance for a respective sense amplifier during offset reference resistance compensation, and
adjust a respective reference resistance for the read operation based on the respective local resistance.

### Claim 13 (depends on 12)

The memory device of claim 12, wherein the second sense amplifier offset compensator comprises:
an adder configured to calculate the local resistance using the coarse offset reference resistance and the second fine offset reference resistance; and
a reference resistance regulator configured to receive the local resistance from the adder and adjust a reference resistance.

### Claim 14 (depends on 12)

The memory device of claim 12, wherein the read offset compensator further comprises:
a coarse offset reference resistance generator configured to:
determine whether the number of fail bits of the output data is less than or equal to a reference value; and
determine the coarse offset reference resistance based on the number of fail bits of the output data being less than or equal to the reference value;
a first fine offset reference resistance generator configured to:
search for the number of fail bits of the first output data within the first reference resistance range based on the coarse offset reference resistance;
determine whether the number of fail bits of the first output data is less than or equal to the reference value; and
determine the first fine offset reference resistance based on the number of fail bits of the first output data being less than or equal to the reference value;
a second fine offset reference resistance generator configured to:
search for the number of fail bits of the second output data within the second reference resistance range based on the coarse offset reference resistance;
determine whether the number of fail bits of the second output data is less than or equal to the reference value; and
determine the second fine offset reference resistance based on the number of fail bits of the second output data being less than or equal to the reference value;

### Claim 15 (depends on 14)

The memory device of claim 14,
wherein the coarse offset reference resistance generator comprises:
a fail bit counter configured to count the number of fail bits of the output data;
a Ref_P1 finder configured to search for an offset reference resistance Ref_P1 at which a first pass result is generated while performing a fail bit search operation;
a Ref_PL finder configured to search for an offset reference resistance Ref_PL at which a last pass result is generated after the offset reference resistance Ref_P1; and
a Ref_X generator configured to generate a coarse offset reference resistance Ref_X using the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL.

### Claim 16 (depends on 15)

The memory device of claim 15,
wherein the second fine offset reference resistance generator if further configured to:
count the number of fail bits of the second output data,
search the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL while performing the fail bit search operation, and
use the offset reference resistance Ref_P1 and the offset reference resistance Ref_PL to generate the second fine offset reference resistance, wherein the second fine offset reference resistance is a second fine offset reference resistance Ref_Zn.

### Claim 17 (depends on 12)

The memory device of claim 12,
wherein each sense amplifier offset compensator from the first sense amplifier offset compensator to the second sense amplifier offset compensator is further configured to:
calculate the respective offset reference resistance with a respective temperature compensation during the offset reference resistance compensation, and
adjust the respective reference resistance for the read operation based on the respective local resistance and the respective temperature compensation.

### Claim 18

An offset reference resistance compensation method for a memory device, the method being executed by at least one processor, and the method comprising:
searching for a number of fail bits of output data output from a memory cell array of the memory device;
determining a coarse offset reference resistance;
searching for a number of fail bits of a first output data within a first reference resistance range based on the coarse offset reference resistance,
determining a first fine offset reference resistance;
searching for a number of fail bits of the second output data within a second reference resistance range based on the coarse offset reference resistance,
determining a second fine offset reference resistance; and
adjusting a reference resistance for a read operation using the coarse offset reference resistance and fine offset reference resistances, the fine offset reference resistances comprising resistances from the first fine offset reference resistance to the second fine offset reference resistance.

### Claim 19 (depends on 18)

The method of claim 18, wherein during the determining the coarse offset reference resistance, a linear search or binary search is used to search whether the number of fail bits of the output data is less than or equal to a reference value, and the coarse offset reference resistance is determined according to the search result.

### Claim 20 (depends on 18)

The method of claim 18, wherein during the determining the second fine offset reference resistance, a linear search or binary search is used to search whether the number of fail bits of the second output data is less than or equal to a reference value, and the second fine offset reference resistance is determined according to the search result.
