# US 2023/0291490 A1 · Adaptive filtering for precision time protocol with physical layer support

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

- Number: US 2023/0291490 A1
- Document ID: US20230291490A1
- Status: Published application
- Kind: A1
- Application number: 17/692,762
- Filed: 2022-03-11
- Published: 2023-09-14
- Earliest claimed: 2022-03-11
- Assignees: Renesas Electronics America Inc.
- Applicants: Renesas Electronics America Inc.
- Inventors: Oleksandr KOROVIN; Alexandru MIHUT; Greg Anton ARMSTRONG; Leonid GOLDIN
- Web page: https://patentgrep.com/patent/US20230291490A1

## CPC

- H04J 3/0664: {unidirectional timestamps}
- H04J 3/0667: {Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays (arrangements for monitoring round trip delays in packet switching networks H04L43/0864)}
- H03L 7/0805: {the loop being adapted to provide an additional control signal for use outside the loop}
- H03L 7/093: using special filtering or amplification characteristics in the loop (H03L7/087 - H03L7/091 take precedence)
- H03L 7/22: using more than one loop
- H04J 3/025: {Filter arrangements (H04J3/08 takes precedence; filters per se H03H7/00, H03H9/00)}
- H04J 3/0617: {the synchronising signal being characterised by the frequency or phase}
- H04J 3/0697: {Synchronisation in a packet node}
- H04J 3/0688: {Change of the master or reference, e.g. take-over or failure of the master}
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

Systems and methods for reducing phase delay variation impact are described. A microcontroller can receive a sequence of phase offsets determined by a slave device over time. The microcontroller can determine a weight vector based on a metric associated with the sequence of phase offsets. The microcontroller can adjust a set of filter coefficients based on the weight vector. The set of filter coefficients can be filter coefficients of a filter being implemented by the slave device to filter incoming packet data.

## Claims

### Claim 1

An integrated circuit that implements adaptive filtering to reduce packet delay variation impact, the integrated circuit comprising:
a microcontroller configured to:
receive a sequence of phase offsets determined by a slave device over time;
form a metric vector based on a set of elements sampled from a metric associated with a portion of phase offsets among the sequence of phase offsets;
determine a weight vector based on the metric vector; and
adjust a set of filter coefficients based on the weight vector, wherein the set of filter coefficients are filter coefficients of a filter being implemented by the slave device to filter incoming packet data.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, wherein the microcontroller is configured to perform a statistical analysis to determine the metric.

### Claim 3 (depends on 1)

The integrated circuit of claim 1, wherein the microcontroller is configured to:
extract the portion of phase offsets from the sequence of phase offsets; and
sample the set of elements from the metric associated with the portion of phase offsets among the sequence of phase offsets.

### Claim 4 (depends on 3)

The integrated circuit of claim 3, wherein the microcontroller is configured to execute a sliding window algorithm to extract the portion of phase offsets.

### Claim 5 (depends on 4)

The integrated circuit of claim 4, wherein a size of a sliding window of the sliding window algorithm is based on a physical layer of the slave device.

### Claim 6 (depends on 1)

The integrated circuit of claim 1, wherein the microcontroller is configured to:
normalize the metric vector; and
saturate the normalized metric vector to determine the weight vector.

### Claim 7 (depends on 1)

The integrated circuit of claim 1, wherein the microcontroller is configured to:
determine a minimum value of the metric vector;
determine a mean of the metric vector;
determine a difference between the mean and the minimum value of the metric vector;
compare the difference with a threshold;
in response to the difference being less than the threshold, set every element among the weight vector to a value of one; and
in response to the different being greater than the threshold, saturate a normalization of the metric vector to determine the weight vector.

### Claim 8 (depends on 1)

The integrated circuit of claim 1, wherein the microcontroller is configured to multiply the weight vector with the set of filter coefficients to adjust the set of filter coefficients.

### Claim 9

A device that implements adaptive filtering to reduce packet delay variation impact, the device comprising:
a physical layer configured to receive packet data from a network; and
a microcontroller configured to be in communication with the physical layer, the microcontroller being configured to:
receive a sequence of phase offsets determined by the device over time;
form a metric vector based on a set of elements sampled from a metric associated with a portion of phase offsets among the sequence of phase offsets;
determine a weight vector based on the metric vector; and
adjust a set of filter coefficients based on the weight vector, wherein the set of filter coefficients are filter coefficients of a filter being implemented by the device to filter packet data received by the physical layer.

### Claim 10 (depends on 9)

The device of claim 9, wherein the microcontroller is configured to perform a statistical analysis to determine the metric.

### Claim 11 (depends on 9)

The device of claim 9, wherein the microcontroller is configured to:
extract the portion of phase offsets from the sequence of phase offsets; and
sample the set of elements from the metric associated with the portion of phase offsets among the sequence of phase offsets.

### Claim 12 (depends on 11)

The device of claim 11, wherein the microcontroller is configured to execute a sliding window algorithm to extract the portion of phase offsets.

### Claim 13 (depends on 12)

The device of claim 12, wherein a size of a sliding window of the sliding window algorithm is based on a physical layer of a slave device.

### Claim 14 (depends on 9)

The device of claim 9, wherein the microcontroller is configured to:
normalize the metric vector; and
saturate the normalized metric vector to determine the weight vector.

### Claim 15 (depends on 9)

The device of claim 9, wherein the microcontroller is configured to:
determine a minimum value of the metric vector;
determine a mean of the metric vector;
determine a difference between the mean and the minimum value of the metric vector;
compare the difference with a threshold;
in response to the difference being less than the threshold, set every element among the weight vector to a value of one; and
in response to the different being greater than the threshold, saturate a normalization of the metric vector to determine the weight vector.

### Claim 16 (depends on 9)

The device of claim 9, wherein the microcontroller is configured to multiply the weight vector with the set of filter coefficients to adjust the set of filter coefficients.

### Claim 17

A method for performing adaptive filtering to reduce phase delay variation impact, the method comprising:
receiving a sequence of phase offsets determined by a slave device over time;
forming a metric vector based on a set of elements sampled from a metric associated with a portion of phase offsets among the sequence of phase offsets;
determining a weight vector based on the metric vector; and
adjusting a set of filter coefficients based on the weight vector, wherein the set of filter coefficients are filter coefficients of a filter being implemented by the slave device to filter incoming packet data.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
extracting the portion of phase offsets from the sequence of phase offsets; and
sampling the set of elements from the metric associated with the portion of phase offsets among the sequence of phase offsets.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
determining a minimum value of the metric vector;
determining a mean of the metric vector;
determining a difference between the mean and the minimum value of the metric vector;
comparing the difference with a threshold;
in response to the difference being less than the threshold, setting every element among the weight vector to a value of one; and
in response to the different being greater than the threshold, saturating a normalization of the metric vector to determine the weight vector.

### Claim 20 (depends on 17)

The method of claim 17, further comprising multiplying the weight vector with the set of filter coefficients to adjust the set of filter coefficients.
