IP Library Granted Patent US 11,005,584
Granted Patent B2
US 11,005,584 · App. 16/831,024 · Granted May 11, 2021

Clock synchronization in a device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,005,584
App. No.
16/831,024
Granted
May 11, 2021
Kind
B2
Abstract

To provide an indication of an accuracy level of a grandmaster clock, a solution using at least three different grandmaster types and grandmaster information maintained in a device is introduced. The three grandmaster types are a primary grandmaster, a secondary grandmaster and neither of them. The grandmaster information includes information on a primary grandmaster and information based on which one or more secondary grandmasters may be determined. After master-slave hierarchy negotiations, the grandmaster information and information on a master clock negotiated is used to determine whether the master clock negotiated for the device is the primary grandmaster, a secondary grandmaster setting a warning, or neither of them in which case an alarm is set.

Claims (60)

1. A method comprising:

maintaining, in a device, grandmaster information, which comprises information on a primary grandmaster and information based on which one or more secondary grandmasters are determinable, wherein each of the primary grandmaster and the one or more secondary grandmasters is, within a timing domain of the device, an external clock usable for synchronizing the device;

performing by the device master-slave hierarchy negotiations during which a master clock is negotiated;

using, by the device, after the negotiations, the grandmaster information to determine whether a type of the master clock negotiated is the primary grandmaster, a secondary grandmaster, or neither;

setting, by the device, in response to the type being the primary grandmaster, a synchronisation status of the device to be synchronized;

setting, by the device, in response to the type being the secondary grandmaster, the synchronisation status of the device to be synchronized with warning; and

setting, by the device, in response to the type being neither, the synchronisation status of the device to synchronized with alarm.

2. The method of claim 1 , wherein

the information on the primary grandmaster comprises at least a clock identifier; and

the information based on which one or more secondary grandmasters are determinable comprises for each secondary grandmaster at least a clock identifier.

3. The method of claim 1 , wherein the grandmaster information comprises further for each grandmaster in the grandmaster information at least attribute values for attributes that are usable in the device master-slave hierarchy negotiations to determine the best block.

4. The method of claim 3 , wherein the using the grandmaster information to determine a type of the master clock negotiated comprises:

checking, whether the master clock negotiated is in the grandmaster information;

if the master clock negotiated is in the grandmaster information, determining whether the master clock negotiated is the primary grandmaster or one of the secondary grandmasters;

if the master clock negotiated is not in the grandmaster information, performing further the following:

checking, whether or not the master clock negotiated fulfils requirements set to timing accuracy;

if the requirements are not fulfilled, determining that the master clock negotiated is not the primary grandmaster or any of the secondary grandmasters;

if the requirements are fulfilled, using attribute values of the master clock negotiated and attribute values in the grandmaster information to determine whether the master clock negotiated will be the primary grandmaster or one of the secondary grandmasters, and updating the grandmaster information correspondingly.

5. The method of claim 1 , further comprising:

receiving an update to the grandmaster information; and

updating the grandmaster information correspondingly.

6. The method of claim 1 , wherein

the information on the primary grandmaster comprises at least a clock identifier; and

the information based on which one or more secondary grandmasters are determinable comprises requirements set to timing accuracy, and a master clock negotiated that is not the primary grandmaster but fulfils the requirements is determined to be a secondary grandmaster.

7. The method of claim 1 , wherein the grandmaster information comprises further for the primary grandmaster at least attribute values for attributes that are usable in the device master-slave hierarchy negotiations to determine the best clock; and

if the master clock negotiated is not the primary grandmaster but fulfils the requirements determining, using the attribute values of the master clock negotiated and the primary grandmaster, which one is the best clock; and

if the master clock negotiated is determined to be the best clock updating the grandmaster information corresponding, and using the updated grandmaster information to determine a type of the master clock negotiated.

8. A device comprising at least one processor, at least one memory including computer program code, and at least one interface, wherein the at least one memory and the computer program code are configured to, with the at least one processor, cause the device to:

maintain, in the device, grandmaster information, which comprises information on a primary grandmaster and information based on which one or more secondary grandmasters are determinable, wherein each of the primary grandmaster and the one or more secondary grandmasters is, within a timing domain of the device, an external clock usable for synchronizing the device;

perform master-slave hierarchy negotiations during which a master clock is negotiated;

use after the negotiations, the grandmaster information to determine whether a type of the master clock negotiated is the primary grandmaster, a secondary grandmaster, or neither;

set in response to the type being the primary grandmaster, a synchronisation status of the device to synchronized;

set in response to the type being the secondary grandmaster, the synchronisation status of the device to synchronized with warning; and

set in response to the type being neither, the synchronisation status of the device to synchronized with alarm.

9. The device of claim 8 , wherein the at least one memory and the computer program code are configured to, with the at least one processor, further cause the device when using the grandmaster information to determine the type of the master clock negotiated to:

check, whether the master clock negotiated is in the grandmaster information;

if the master clock negotiated is in the grandmaster information, determine whether the master clock negotiated is the primary grandmaster or one of the secondary grandmasters;

if the master clock negotiated is not in the grandmaster information, perform further the following:

check, whether or not the master clock negotiated fulfils requirements set to timing accuracy;

if the requirements are not fulfilled, determine that the master clock negotiated is not the primary grandmaster or any of the secondary grandmasters;

if the requirements are fulfilled, use attribute values of the master clock negotiated and attribute values in the grandmaster information to determine whether the master clock negotiated will be the primary grandmaster or one of the secondary grandmasters, and update the grandmaster information correspondingly.

10. The device of claim 8 , wherein the at least one memory and the computer program code are configured to, with the at least one processor, further cause the device to:

update, in response to receiving an update to the grandmaster information, the grandmaster information correspondingly.

11. The device of claim 8 , wherein the at least one memory and the computer program code are configured to, with the at least one processor, further cause the device to determine whether the master clock negotiated is the primary grandmaster or one of the secondary grandmasters by using clock identifiers in the grandmaster information.

12. The device of claim 8 , wherein the at least one memory and the computer program code are configured to, with the at least one processor, further cause the device to use attribute values for attributes in the grandmaster information to determine the best clock in the master-slave hierarchy negotiations.

13. The device of claim 8 , wherein the at least one memory and the computer program code are configured to, with the at least one processor, further cause the device to:

maintain in the information on the primary grandmaster at least a clock identifier and in the information based on which one or more secondary grandmasters are determinable requirements set to timing accuracy; and

determine that the master clock that is not the primary grandmaster but fulfills the requirements is a secondary grandmaster.

14. A computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to:

maintain, in the device, grandmaster information, which comprises information on a primary grandmaster and information based on which one or more secondary grandmasters are determinable, wherein each of the primary grandmaster and the one or more secondary grandmasters is, within a timing domain of the device, an external clock usable for synchronizing the device;

perform master-slave hierarchy negotiations during which a master clock is negotiated;

use after the negotiations, the grandmaster information to determine whether a type of the master clock negotiated is the primary grandmaster, a secondary grandmaster, or neither;

set in response to the type being the primary grandmaster, a synchronisation status of the device to synchronized;

set in response to the type being the secondary grandmaster, the synchronisation status of the device to synchronized with warning; and

set in response to the type being neither, the synchronisation status of the device to synchronized with alarm.

15. The computer program product of claim 14 , wherein the information on a primary grandmaster comprises at least a clock identifier; and

the information based on which one or more secondary grandmasters are determinable comprises for each secondary grandmaster at least a clock identifier.

16. The computer program product of claim 14 , wherein the grandmaster information comprises further for each grandmaster in the grandmaster information at least attribute values for attributes that are usable in the device master-slave hierarchy negotiations to determine the best clock.

17. The computer program product of claim 14 , wherein the information on a primary grandmaster comprises at least a clock identifier; and

the information based on which one or more secondary grandmasters are determinable comprises requirements set to timing accuracy, and a master clock negotiated that is not the primary grandmaster but fulfils the requirements is determined to be a secondary grandmaster.

Assignments (4)
MERGER Recorded Sep 9, 2024
From: HITACHI ENERGY SWITZERLAND AG
To: HITACHI ENERGY LTD
Reel/Frame 068905/0969 →
CHANGE OF NAME Recorded Feb 24, 2023
From: ABB POWER GRIDS SWITZERLAND AG
To: HITACHI ENERGY SWITZERLAND AG
Reel/Frame 062865/0029 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 20, 2023
From: ABB SCHWEIZ AG
To: ABB POWER GRIDS SWITZERLAND AG; ABB SCHWEIZ AG
Reel/Frame 062741/0403 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2020
From: SYVÄLUOMA, PETRI; YLINEN, JUHA; LÄHDESMÄKI, MIKKO
To: ABB SCHWEIZ AG
Reel/Frame 053160/0326 →