# US 2025/0085141 A1 · Automatic calibration of encoders

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

- Number: US 2025/0085141 A1
- Document ID: US20250085141A1
- Status: Published application
- Kind: A1
- Application number: 18/466,801
- Filed: 2023-09-13
- Published: 2025-03-13
- Earliest claimed: 2023-09-13
- Assignees: Avago Technologies International Sales Pte. Limited
- Applicants: Avago Technologies International Sales Pte. Limited
- Inventors: Childs Chang; Kheng Hin Toh; Heem Leong Ong; Wei Keat Yew; Thomas Theil
- Web page: https://patentgrep.com/patent/US20250085141A1

## CPC

- G01D 18/001: {Calibrating encoders}
- G01D: MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR

## Abstract

Novel tools and techniques are provided for implementing an encoder capable of performing a self-calibration process, and more particularly methods, systems, and apparatuses are provided for implementing an encoder capable of performing a process to calibrate itself using a moving average algorithm. In various embodiments, the encoder includes an exciter and a sensor capable of detecting a position of the exciter and generating a signal based on the position of the exciter. The encoder can then perform one or more steps to calibrate itself using a moving average algorithm to account for variations in a rotation speed of the encoder.

## Claims

### Claim 1

An encoder comprising:
an exciter;
a sensor configured to detect a position associated with the exciter and generate a signal based on the position; and
a controller configured to run a process to calibrate the encoder, the process comprising:
detecting a rotation of the exciter;
receiving the signal from the sensor;
detecting a first position of the exciter and a second position of the exciter based on the signal for a first rotation cycle;
after completing the first rotation cycle, dividing the first rotation cycle into two or more first segments and determining for a first segment of the two or more first segments a first time to rotate the exciter through the first segment;
detecting a third position of the exciter and a fourth position of the exciter based on the signal for a second rotation cycle;
after completing the second rotation cycle, dividing the second rotation cycle into two or more second segments and determining for a corresponding first segment of the two or more second segments a second time to rotate the exciter through the corresponding first segment, wherein the corresponding first segment corresponds to the first segment of the first rotation cycle;
determining that the first time is within a first predetermined threshold of the second time; and
based on a determination that the first time is within the first predetermined threshold of the second time, calibrating the signal of the sensor.

### Claim 2 (depends on 1)

The encoder of claim 1, wherein the first position, the second position, the third position, and the fourth position are a same position.

### Claim 3 (depends on 1)

The encoder of claim 1, wherein calibrating the signal of the sensor comprises:
detecting a start position and an end position of the exciter for at least one of the first segment or the corresponding first segment;
detecting the exciter has reached a between position between the start position and the end position;
determining a third time to rotate the exciter to the between position, wherein the third time is an actual time to rotate the exciter to the between position;
calculating a fourth time to rotate the exciter to the between position between the start position and the end position based on at least one of the first time or the second time, wherein the fourth time is an expected time to rotate the exciter to the between position; and
calculating a first value to correct the signal generated by the sensor for the between position based on a deviation between the third time and the fourth time.

### Claim 4 (depends on 3)

The encoder of claim 3, wherein the first value is added to a look up table for the encoder to correct the signal of the encoder.

### Claim 5 (depends on 3)

The encoder of claim 3, wherein the first value is calculated for the between position of the first segment and the corresponding first segment, wherein the first value corresponding to the first segment and the corresponding first segment are combined and added to a look up table for the encoder to correct the signal of the encoder.

### Claim 6 (depends on 3)

The encoder of claim 3, wherein a moving average algorithm is used to determine at least one of the between position, the start position, or the end position of at least one of the first segment or the corresponding first segment.

### Claim 7 (depends on 1)

The encoder of claim 1, wherein a moving average algorithm is used to determine the first position, the second position, the third position, the fourth position.

### Claim 8 (depends on 1)

The encoder of claim 1, wherein a rotation speed of the exciter is non-constant during the process to calibrate the encoder and the rotation speed of the exciter is not determined before the process to calibrate the encoder.

### Claim 9 (depends on 1)

The encoder of claim 1, wherein a ratio of a detection rate of the position of the exciter to a rotation speed of the exciter is at least 2500:1.

### Claim 10 (depends on 1)

The encoder of claim 1, wherein the process further comprises:
detecting a fifth position of the exciter and a sixth position of the exciter based on the signal for a third rotation cycle, wherein the third rotation cycle occurs before the second rotation cycle;
after completing the third rotation cycle, dividing the third rotation cycle into two or more third segments and determining for a corresponding second segment of the two or more third segments a third time to rotate the exciter through the third segment, wherein the corresponding second segment corresponds to the first segment;
determining the first time is not within the predetermined threshold of the third time;
based on a determination that the first time is not within the predetermined threshold of the third time, starting an other rotation cycle.

### Claim 11 (depends on 1)

The encoder of claim 1, wherein the first rotation cycle is divided into two or more first segments based on a rotation speed of the exciter associated with each segment.

### Claim 12 (depends on 1)

The encoder of claim 1, wherein the first rotation cycle is divided into two or more first segments based on a number of harmonics of the signal, wherein a ratio of the number of segments to the number of harmonics of the signal is at least 2:1.

### Claim 13

A method for calibrating an encoder, the method comprising:
detecting a rotation of an exciter of the encoder;
detecting a signal from a sensor of the encoder, wherein the sensor detects a position associated with the exciter and generates the signal based on the position;
detecting a first position of the exciter and a second position of the exciter based on the signal for a first rotation cycle;
after completing the first rotation cycle, dividing the first rotation cycle into two or more first segments and determining for a first segment of the two or more first segments a first time to rotate the exciter through the first segment;
detecting a third position of the exciter and a fourth position of the exciter based on the signal for a second rotation cycle;
after completing the second rotation cycle, dividing the second rotation cycle into two or more second segments and determining for a corresponding first segment of the two or more second segments a second time to rotate the exciter through the second segment, wherein the corresponding first segment corresponds to the first segment;
determining that the first time is within a first predetermined threshold of the second time; and
based on a determination that the first time is within the first predetermined threshold of the second time, calibrating the signal of the sensor.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first position, the second position, the third position, and the fourth position are a same position.

### Claim 15 (depends on 13)

The method of claim 13, wherein calibrating the signal of the sensor comprises:
detecting a start position and an end position of the exciter for at least one of the first segment or the corresponding first segment;
detecting the exciter has reached a between position between the start position and the end position;
determining a third time to rotate the exciter to the between position, wherein the third time is an actual time to rotate the exciter to the between position;
calculating a fourth time to rotate the exciter to the between position between the start position and the end position based on at least one of the first time or the second time, wherein the fourth time is an expected time to rotate the exciter to the between position; and
calculating a first value to correct the signal generated by the sensor for the between position based on a deviation between the third time and the fourth time.

### Claim 16 (depends on 13)

The method of claim 13, wherein a rotation speed of the exciter is non-constant during the method to calibrate the encoder and wherein the rotation speed of the exciter is not determined before the method to calibrate the encoder.

### Claim 17 (depends on 13)

The method of claim 13, wherein a ratio of a sampling rate of the signal to a rotation speed of the exciter is at least 2500:1.

### Claim 18

An encoder comprising:
an exciter;
a sensor configured to detect a position associated with the exciter and generate a signal based on the position; and
a processor configured to:
detect a rotation of the exciter;
receive the signal from the sensor;
determine one or more variations in a rotation speed of the exciter exceed a first predetermined threshold;
based on a determination that the one or more variations exceed the first predetermined threshold, divide a rotation cycle of the exciter into two or more segments;
detect a first position of the exciter for a first segment of the two or more segments based on the signal;
determine a first time to rotate the exciter from the first position to a second position of the first segment;
detect the exciter has reached a third position between the first position and the second position of the first segment based on the signal, wherein the third position for the first segment is determined using a moving average algorithm;
determine a second time to rotate the exciter to the third position, wherein the second time is an actual time to rotate the exciter to the third position;
calculate a third time to rotate the exciter to the third position between the first position and the second position based on the first time, wherein the third time is an expected time to rotate the exciter to the third position; and
calculate a first value to correct the signal generated by the sensor for the third position based on a deviation between the second time and the third time.

### Claim 19 (depends on 18)

The encoder of claim 18, wherein dividing the rotation cycle into two or more segments is based on a rotation speed associated with each segment.

### Claim 20 (depends on 18)

The encoder of claim 18, wherein the processor is further configured to:
after calculating the first value for the first segment, calculate a second value to correct the signal for a fourth position in a second segment of the two or more segments;
add the first value and the second value to a look-up table for the encoder; and
use the look-up table to correct the signal received from the sensor for the third position of the first segment and the fourth position of the second segment.
