Method and system for merging clocks from multiple precision time protocol (PTP) clock domains
AssigneeNXP B.V.
InventorsChristian Herber, Donald Robert Pannell
Life of this patent
Estimating the term…
Abstract
Embodiments of a method and device are disclosed. In an embodiment, a method for synchronizing a slave clock in a Time Sensitive Network (TSN) that includes multiple Precision Time Protocol (PTP) clock domains is disclosed. The method involves determining parameters related to multiple PTP clock domains, assigning domain-specific weights to the multiple PTP clock domains based on the determined parameters, generating a control signal for a clock parameter using the domain-specific weights assigned to the multiple PTP clock domains, and adjusting the clock parameter of a slave clock in response to the control signal.
Claims17
A method for synchronizing a slave clock in a Time Sensitive Network (TSN) that includes multiple Precision Time Protocol (PTP) clock domains, the method comprising:
- determining parameters related to multiple PTP clock domains;
- assigning domain-specific weights to the multiple PTP clock domains based on the determined parameters;
- generating a control signal for a clock parameter using the domain-specific weights assigned to the multiple PTP clock domains;
- and
- adjusting the clock parameter of the slave clock in response to the control signal;
- wherein generating the control signal using the domain-specific weights involves generating domain-specific control signals corresponding to the multiple PTP domains and then calculating the control signal as a weighted average of the domain-specific control signals using the domain-specific weights, wherein the control signal comprises a digital value that adjusts a phase or a frequency of the slave clock by setting a register of the slave clock, and wherein the parameter for each particular PTP clock domain of the multiple PTP clock domains is determined to represent quality of information received in synchronization messages for the particular PTP clock domain or health of the particular PTP clock domain.
A device for use in a Time Sensitive Network (TSN), the device comprising:
- a parameter determination module configured to determine parameters related to multiple Precision Time Protocol (PTP) clock domains;
- a weight assignment module configured to assign domain-specific weights to the multiple PTP clock domains based on the determined parameters;
- a weighted merge module configured to generate a control signal for a clock parameter using the domain-specific weights assigned to the multiple PTP clock domains;
- a slave clock that is adjusted in response to the control signal;
- and
- a clock synchronization control module configured to generate domain-specific control signals corresponding to the multiple PTP domains and wherein the weighted merge module is configured to calculate the control signal as a weighted average of the domain-specific control signals using the domain-specific weights, wherein the control signal comprises a digital value that adjusts a phase or a frequency of the slave clock by setting a register of the slave clock, and wherein the parameter for each particular PTP clock domain of the multiple PTP clock domains is determined to represent quality of information received in synchronization messages for the particular PTP clock domain or health of the particular PTP clock domain.
Dependencies are inferred from the claim text.