# US 2021/0281339 A1 · Communication system and slave device

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

- Number: US 2021/0281339 A1
- Document ID: US20210281339A1
- Status: Published application
- Kind: A1
- Application number: 16/607,397
- Filed: 2017-06-27
- Published: 2021-09-09
- Earliest claimed: 2017-06-27
- Assignees: Mitsubishi Electric Corporation
- Applicants: Mitsubishi Electric Corporation
- Inventors: Taichi SAKAUE
- Web page: https://patentgrep.com/patent/US20210281339A1

## CPC

- H04J 3/0638: {Clock or time synchronisation among nodes; Internode synchronisation (synchronization for ring networks H04L12/422; data switching networks with synchronous transmission H04L12/43)}
- H04J 3/0673: {using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet}
- H04B 7/14: Relay systems
- 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)}
- H04J 3/067: {Details of the timestamp structure}
- H04J 3/0682: {by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging}
- H04L 12/403: with centralised control, e.g. polling
- H04W 56/004: {compensating for timing error of reception due to propagation delay}
- H04B 7/155: Ground-based stations (H04B7/204 takes precedence)
- H04L 7/0033: {Correction by delay}
- H04L 2012/4026: {Bus for use in automation systems}
- H04W 56/0015: {one node acting as a reference for the others}
- H04W 56/005: {compensating for timing error by adjustment in the receiver}
- 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)
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A grand master device (GM) (10) and a slave device (S1) (20) are connected via a general-purpose hub (HUB) (30) whose relay delay is not constant. The grand master device (GM) (10), at a timing for transmitting a Sync frame for time synchronization, acquires current time as transmission time of the Sync frame, acquires a count value of a master counter as a transmission count value, stores the transmission time and the transmission count value in the Sync frame, and transmits the Sync frame. The slave device (S1) (20) receives the Sync frame, acquires reception time of the Sync frame and a reception count value which is a count value of a slave counter at the reception time, and corrects time of the slave device (S1) (20), using the transmission time, the transmission count value, the reception time and the reception count value.

## Claims

### Claim 1

A communication system comprising:
a master device and a slave device connected via a relay device whose relay delay is not constant,
wherein the master device includes
a master counter which is a free-run counter; and
first processing circuitry, at timing for transmitting a time synchronization frame for time synchronization, to acquire current time as transmission time of the time synchronization frame, to acquire a count value of the master counter as a transmission count value, to store the transmission time and the transmission count value in the time synchronization frame, and to transmit the time synchronization frame to the slave device,
wherein the slave device includes
a slave counter which is a free-run counter independent from the master counter; and
second processing circuitry
to receive the time synchronization frame;
to acquire reception time of the time synchronization frame and a reception count value which is a count value of the slave counter at the reception time; and
to correct time of the slave device, using the transmission time, the reception time, a transmission/reception-count difference, a measurement propagation delay value and a delay count difference, the transmission/reception-count difference being a difference between the transmission count value and the reception count value, the measurement propagation delay value being a value of propagation delay acquired from a past measurement, the delay count difference being obtained from a count value of the master counter and a count value of the slave counter which correspond to the measurement propagation delay value, and
wherein the second processing circuitry calculates, as a relay delay difference, a difference between a value of relay delay by the relay device when relaying the time synchronization frame and a value of relay delay included in the measurement propagation delay value, based on the transmission/reception-count difference and the delay count difference;
calculates a value of propagation delay at transmission of the time synchronization frame, using the calculated relay delay difference and the measurement propagation delay value;
calculates, as an offset value, a difference between the time of the master device and the time of the slave device, using the calculated value of propagation delay at transmission of the time synchronization frame, the transmission time and the reception time; and
corrects the time of the slave device, using the calculated offset value.

### Claim at position 2

2-4. (canceled)

### Claim 5 (depends on 1)

The communication system according to claim 1,
wherein the second processing circuitry calculates the relay delay difference based on the transmission/reception-count difference, the delay count difference, a clock frequency of the master device and a clock frequency of the slave device.

### Claim 6 (depends on 1)

The communication system according to claim 1,
wherein the second processing circuitry corrects the time of the slave device, using an average value of a plurality of values of propagation delay acquired in a plurality of past measurements as the measurement propagation delay value.

### Claim 7 (depends on 6)

The communication system according to claim 6,
wherein the second processing circuitry uses, as the measurement propagation delay value, the average value of the plurality of values of propagation delay measured by transmitting and receiving the frames to and from the master device.

### Claim 8

(canceled)

### Claim 9

A slave device connected to a master device via a relay device whose relay delay is not constant, the master device including a master counter which is a free-run counter, and at a timing for transmitting a time synchronization frame for time synchronization, acquiring current time as transmission time of the time synchronization frame, acquiring a count value of the master counter as a transmission count value, storing the transmission time and the transmission count value in the time synchronization frame, and transmitting the time synchronization frame in which the transmission time and the transmission count value are stored, the slave device comprising:
a slave counter which is a free-run counter independent from the master counter; and
processing circuitry
to receive the time synchronization frame transmitted from the master device;
to acquire reception time of the time synchronization frame and a reception count value which is a count value of the slave counter at the reception time; and
to correct time of the slave device, using the transmission time, the reception time, a transmission/reception-count difference, a measurement propagation delay value and a delay count difference, the transmission/reception-count difference being a difference between the transmission count value and the reception count value, the measurement propagation delay value being a value of propagation delay acquired from a past measurement, the delay count difference being obtained from a count value of the master counter and a count value of the slave counter which correspond to the measurement propagation delay value,
wherein the processing circuitry calculates, as a relay delay difference, a difference between a value of relay delay by the relay device when relaying the time synchronization frame and a value of relay delay included in the measurement propagation delay value, based on the transmission/reception-count difference and the delay count difference;
calculates a value of propagation delay at transmission of the time synchronization frame, using the calculated relay delay difference and the measurement propagation delay value;
calculates, as an offset value, a difference between the time of the master device and the time of the slave device, using the calculated value of propagation delay at transmission of the time synchronization frame, the transmission time and the reception time; and
corrects the time of the slave device, using the calculated offset value.

### Claim at position 8

10-12. (canceled)

### Claim 13 (depends on 9)

The slave device according to claim 9,
wherein the processing circuitry calculates the relay delay difference based on the transmission/reception-count difference, the delay count difference, a clock frequency of the master device and a clock frequency of the slave device.

### Claim 14 (depends on 9)

The slave device according to claim 9,
wherein the processing circuitry corrects the time of the slave device, using an average value of a plurality of values of propagation delay acquired in a plurality of past measurements as the measurement propagation delay value.

### Claim 15 (depends on 14)

The slave device according to claim 14,
wherein the processing circuitry uses, as the measurement propagation delay value, the average value of the plurality of values of propagation delay measured by transmitting and receiving the frames to and from the master device.
