WO2025225009A1 - Time synchronization device, time synchronization system, time synchronization method, and program - Google Patents
Time synchronization device, time synchronization system, time synchronization method, and programInfo
- Publication number
- WO2025225009A1 WO2025225009A1 PCT/JP2024/016544 JP2024016544W WO2025225009A1 WO 2025225009 A1 WO2025225009 A1 WO 2025225009A1 JP 2024016544 W JP2024016544 W JP 2024016544W WO 2025225009 A1 WO2025225009 A1 WO 2025225009A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- time difference
- clock
- difference
- convergence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
Definitions
- This disclosure relates to a time synchronization device, a time synchronization system, a time synchronization method, and a program.
- Patent Document 1 describes a technology for achieving high-precision time synchronization in a time synchronization device that uses PTP without using synchronous Ethernet signals (SyncE).
- Patent Document 1 uses a time synchronization protocol that conforms to IEEE 1588-2008, but IEEE 1588-2008 assumes that the upstream delay (STMD; Slave to Master Delay) and downstream delay (MTSD; Master to Slave Delay) are the same. Therefore, if there is a difference between the upstream delay and downstream delay, that difference will appear as the time difference between the master clock and slave clock.
- STMD upstream delay
- MTSD downstream delay
- one of the objectives of this disclosure is to provide a time synchronization device, time synchronization system, time synchronization method, and program that can reduce the time difference between a master clock and a slave clock.
- a time synchronization device comprises an internal clock and a slave clock, frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of the master clock of a time master device, downstream time difference convergence means for converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, upstream time difference convergence means for converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, and time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
- a time synchronization system comprises an internal clock and a slave clock, frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of the master clock of a time master device, downstream time difference convergence means for converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, upstream time difference convergence means for converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, and time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
- a time synchronization method synchronizes the frequency of an internal clock with the frequency of a master clock in a time master device, converges a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, converges an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, and synchronizes the time of a slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
- a program causes a computer to execute the following processes: synchronize the frequency of an internal clock with the frequency of a master clock in a time master device; converge a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock; converge an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device; and synchronize the time of a slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
- FIG. 1 is a configuration diagram illustrating an example of the configuration of a time synchronization device according to a basic example.
- FIG. 10 is a diagram illustrating a configuration example of a PTP frequency synchronization unit according to a basic example.
- FIG. 10 is a configuration diagram showing an example of the configuration of a packet filter processing unit according to the basic example.
- FIG. 10 is a configuration diagram showing an example of the configuration of a PTP time synchronization unit according to the basic example.
- 1 is a configuration diagram illustrating an example of the configuration of a time synchronization device according to some embodiments. 1 is a flowchart illustrating an example of a time synchronization method according to some embodiments.
- FIG. 10 is a flowchart illustrating an example of the operation of a time slave device according to some embodiments.
- 1 is a configuration diagram illustrating an example of the configuration of a time synchronization system according to some embodiments.
- FIG. 2 illustrates the relationship between clocks of a time master device and a time slave device according to some embodiments.
- 6 is a graph illustrating example performance results of an MTSD servo and an STMD servo according to some embodiments.
- 10 is a graph illustrating another example of the operational results of an MTSD servo and an STMD servo according to some embodiments.
- 1 is a timing chart illustrating an example of timing between a time master device and a time slave device according to some embodiments.
- FIG. 1 is a diagram illustrating an example configuration of a PDV filter according to some embodiments.
- FIG. 1 is a diagram illustrating an example configuration of an MTSD servo according to some embodiments.
- FIG. 1 is a diagram illustrating an example configuration of an STMD servo according to some embodiments.
- FIG. 1 is a diagram illustrating an example of the hardware configuration of a computer according to some embodiments.
- FIG. 1 shows an example configuration of a time synchronization device 500 according to a basic example.
- the time synchronization device 500 is a time slave device that performs time synchronization with a time master device using PTP.
- t1 packets (Sync Message), t2 packets (Follow-up Message), t3 packets (Delay Request Message), and t4 packets (Delay Response Message) are sent and received between the time master device and the time slave device, and the times at which these packets are sent and received are used.
- the downstream delay time (MTSD) is calculated from the difference between the time (t1) when the time master device sends the t1 packet and the time (t2) when the time slave device receives the t1 packet
- the upstream delay time (STMD) is calculated from the difference between the time (t3) when the time slave device sends the t3 packet and the time (t4) when the time master device receives the t3 packet, and time synchronization is performed based on these respective delay times.
- the basic example is based on Patent Document 1 and has an internal clock that is frequency-synchronized with the time master device on the sending side, and although there is a time offset with the sending clock, it is used under conditions where frequency synchronization is established. Therefore, even if input and output packets are time-stamped using the internal clock, delays cannot be determined, but it is possible to determine whether the packet arrival time is earlier or later than the previous value.
- the time synchronization device 500 includes a PTP frequency synchronization unit 600, a packet filter processing unit 700, and a PTP time synchronization unit 800.
- the PTP frequency synchronization unit 600 is a PTP frequency servo that performs frequency synchronization with the time master device.
- Figure 2 shows an example configuration of the PTP frequency synchronization unit 600.
- the PTP frequency synchronization unit 600 includes a t2' packet time stamping unit 610, a phase comparator (PD; Phase Detector) 620, an IIR (Infinite Impulse Response) filter 630, a PI (Phase Interpolation) controller 640, and an internal clock 650.
- PD Phase Detector
- IIR Infinite Impulse Response
- PI Phase Interpolation
- the PTP frequency synchronization unit 600 uses a phase comparator 620, an IIR filter 630, and a PI controller 640 to control the operation of the internal clock 650 with a PLL (Phase Locked Loop) so that the time difference (t2' - t1) between the packet transmission time (t1) from the time master device and the packet reception time (t2') stamped by the t2' packet stamping unit 610 using the internal clock 650 remains constant.
- the PTP frequency synchronization unit 600 synchronizes the frequency of the output signal (time) of the internal clock 650 with the frequency of the output signal (time) of the time master device.
- the packet filter processing unit 700 constitutes a packet delay variation (PDV) filter that uses the time of the frequency-synchronized internal clock 650 to determine packet delay variation.
- PDV packet delay variation
- the PTP frequency synchronization unit 600, packet filter processing unit 700, and PTP time synchronization unit 800 are sometimes collectively referred to as the PDV filter.
- Figure 3 shows an example configuration of the packet filter processing unit 700.
- the packet filter processing unit 700 includes a t1 packet receiving unit 710, a Follow-up Message (t2 packet) receiving unit 711, a t3 packet transmitting unit 712, a t4 packet receiving unit 713, a t2' packet stamping unit 730, a t2'-t1 calculation unit 731, a t2'-t1 shortest time search and holding unit 732, a t2'-t1 correction unit 733, a t1 correction value update unit 734, a t3' packet stamping unit 740, a t4-t3' calculation unit 741, a t4-t3' shortest time search and holding unit 742, a t4-t3' correction unit 743, and a t4 correction value update unit 744.
- the packet filter processing unit 700 corrects the packet transmission time (t1) based on the shortest time difference (t2'-t1; MTSD') between the packet transmission time (t1) from the time master device and the packet reception time (t2') stamped by the t2' packet stamping unit 730 using the internal clock 650.
- the t2'-t1 shortest time search and hold unit 732 searches for the shortest time from the time difference (t2'-t1) calculated by the t2'-t1 calculation unit 731 and holds it.
- the t2'-t1 shortest time search and hold unit 732 separates and outputs the held shortest time (min PDV) and other times (other min PDV).
- the t2'-t1 correction unit 733 generates a correction value for the downstream time based on the results of the t2'-t1 shortest time search and hold unit 732.
- the t2'-t1 correction unit 733 calculates a correction value from the difference between the shortest time (min PDV) and the time other than the shortest time (other min PDV) of the time difference (t2'-t1).
- the t1 correction value update unit 734 adds this correction value to the Correction Field of the t1 packet.
- the packet filter processing unit 700 also corrects the packet reception time (t4) based on the shortest time difference (t4-t3'; STMD') between the packet transmission time (t3') stamped by the t3' packet stamping unit 740 using the internal clock 650 and the packet reception time (t4) at the time master device.
- the t4-t3' shortest time search and hold unit 742 searches for the shortest time from the time difference (t4-t3') calculated by the t4-t3' calculation unit 741 and holds it.
- the t4-t3' shortest time search and hold unit 742 separates and outputs the held shortest time (min PDV) and other times (other min PDV).
- the t4-t3' correction unit 743 generates a correction value for the uplink time based on the results of the t4-t3' shortest time search and hold unit 742.
- the t4-t3' correction unit 743 calculates a correction value from the difference between the shortest time (min PDV) and the time other than the shortest time (other min PDV) of the time difference (t4-t3').
- the t4 correction value update unit 744 adds this correction value to the Correction Field of the t4 packet.
- the PTP time synchronization unit 800 is a PTP time servo that performs time synchronization with the time master device.
- Figure 4 shows an example configuration of the PTP time synchronization unit 800.
- the PTP time synchronization unit 800 includes an OCXO (Oven Controlled Crystal Oscillator) 810, a slave clock 820, a t2 packet time-stamping unit 830, a t2-t1 calculation unit 831, a t3 packet time-stamping unit 832, a t4-t3 calculation unit 833, a complementation unit 834, an adder 835, and a PI controller 836.
- OCXO Open Controlled Crystal Oscillator
- the PTP time synchronization unit 800 calculates the downstream delay time (t2-t1; MTSD) from the packet transmission time (t1) corrected by the packet filter processing unit 700 and the packet reception time (t2) stamped by the slave clock 820 by the t2 packet stamping unit 830, and calculates the upstream delay time (t4-t3; STMD) from the packet transmission time (t3) stamped by the slave clock 820 by the t3 packet stamping unit 832 and the packet reception time (t4) corrected by the packet filter processing unit 700.
- the complementation unit 834, adder 835, and PI controller 836 PLL-control the operation of the slave clock 820 so that the downstream delay time (t4-t3) and the upstream delay time (t2-t1) are equal.
- the PTP time synchronization unit 800 synchronizes the output signal (time) of the slave clock 820 with the output signal (time) of the time master device.
- frequency synchronization is performed before time synchronization, and an internal clock is generated from the reproduced frequency.
- This internal clock then stamps the packet arrival time (t2') and packet transmission time (t3').
- t2' packet arrival time
- t3' packet transmission time
- the difference between MTSD' and STMD' calculated from t2' and t3' of each packet sent is stored in the Correction Field area of IEEE 1588-2008, and time synchronization is performed using the shortest delay time.
- the relevant time synchronization method uses a time synchronization protocol conforming to IEEE 1588-2008.
- IEEE 1588-2008 is a protocol that assumes that the upstream and downstream delays are identical. Therefore, if there is a difference between the upstream and downstream delays, that difference will appear as a time difference. Strictly speaking, the time will deteriorate by half a minute of the delay difference.
- Assisted Partial Timing which uses absolute time such as GNSS (Global Navigation Satellite System), but using GNSS is not easy to implement in terms of functionality, operation, and security.
- GNSS Global Navigation Satellite System
- FIG. 5 shows an example configuration of a time synchronization device 10 according to some embodiments.
- the time synchronization device 10 is a time slave device (time slave device) that performs time synchronization with a time master device (time master device).
- the time synchronization device 10 may be a wireless time synchronization device that performs wireless communication with the time master device, or a wired time synchronization device that performs wired communication with the time master device.
- the time synchronization device 10 includes an internal clock 11, a slave clock 12, a frequency synchronization unit 13, a downstream time difference convergence unit 14, an upstream time difference convergence unit 15, and a time synchronization unit 16.
- the internal clock 11 is included in the frequency synchronization unit 13.
- the slave clock 12 is included in the time synchronization unit 16.
- the frequency synchronization unit 13 synchronizes the frequency of the internal clock with the frequency of the master clock of the time master device.
- the frequency synchronization unit 13 corresponds to the PTP frequency synchronization unit 600.
- the downstream time difference convergence unit 14 converges the downstream time difference, which is the time difference (MTSD') between the packet transmission time from the time master device and the packet reception time stamped by the internal clock 11.
- the downstream time difference convergence unit 14 may acquire the time difference from the packet filter processing unit 700.
- the downstream time difference convergence unit 14 may converge the downstream time difference based on the provisional upstream time difference and the repeatedly measured downstream time difference.
- the downstream time difference convergence unit 14 may be configured as a time servo and include a clock for downstream time difference convergence, a measurement unit that measures the downstream time difference, and a comparison unit that controls the clock for downstream time difference convergence depending on the comparison result between the provisional upstream time difference and the measured downstream time difference.
- the upstream time difference convergence unit 15 converges the upstream time difference, which is the time difference (STMD') between the packet transmission time stamped by the internal clock 11 and the packet reception time at the time master device.
- the upstream time difference convergence unit 15 may acquire the time difference from the packet filter processing unit 700.
- the upstream time difference convergence unit 15 may converge the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference.
- the upstream time difference convergence unit 15 may be configured as a time servo and include a clock for upstream time difference convergence, a measurement unit that measures the upstream time difference, and a comparison unit that controls the clock for upstream time difference convergence depending on the comparison result between the provisional downstream time difference and the measured upstream time difference.
- the time synchronization unit 16 synchronizes the time of the slave clock 12 with the time of the master clock based on the convergence result of the downstream time difference by the downstream time difference convergence unit 14 and the convergence result of the upstream time difference by the upstream time difference convergence unit 15.
- the time synchronization unit 16 corresponds to the PTP time synchronization unit 800.
- the time synchronization device 10 may also be equipped with a calculation unit that calculates a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference.
- the time synchronization unit 16 may synchronize the time of the slave clock with the time of the master clock based on the calculated time correction value.
- the calculation unit may calculate the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculate the time correction value based on this time difference.
- the calculation unit may calculate the downlink delay time based on the time difference between the master clock and the internal clock and the downlink time difference, calculate the uplink delay time based on the time difference between the master clock and the internal clock and the uplink time difference, and calculate the time correction value based on the downlink delay time and the uplink delay time.
- the time synchronization unit 16 may use a time correction value to correct either the time difference between the packet transmission time from the time master device and the packet reception time stamped by the slave clock, or the time difference between the packet transmission time stamped by the slave clock and the packet reception time at the time master device, and synchronize the time of the slave clock with the time of the master clock.
- each unit in the time synchronization device 10 may be included in one device or multiple devices, or may be included in a time synchronization system including one device or multiple devices. That is, the time synchronization system may include the internal clock 11, slave clock 12, frequency synchronization unit 13, downstream time difference convergence unit 14, upstream time difference convergence unit 15, and time synchronization unit 16. The units in the time synchronization device 10 may also be distributed. For example, the time synchronization device 10 may include the internal clock 11, slave clock 12, frequency synchronization unit 13, and time synchronization unit 16, and another device may include the downstream time difference convergence unit 14 and upstream time difference convergence unit 15.
- FIG. 6 shows an example of a time synchronization method according to some embodiments.
- the time synchronization method according to some embodiments is performed by the time synchronization device 10 of FIG. 5.
- the frequency synchronization unit 13 synchronizes the frequency of the internal clock 11 with the frequency of the clock of the time master device. (S11) For example, the frequency synchronization unit 13 performs frequency synchronization with the time master device in the same way as the PTP frequency synchronization unit 600.
- the downstream time difference convergence unit 14 converges the downstream time difference, which is the time difference (MTSD') between the packet transmission time from the time master device and the packet reception time stamped by the internal clock 11 (S12). For example, the downstream time difference convergence unit 14 converges the downstream time difference through time servo operation based on the provisional upstream time difference and the repeatedly measured downstream time difference.
- the upstream time difference convergence unit 15 converges the upstream time difference, which is the time difference (STMD') between the packet transmission time stamped by the internal clock 11 and the packet reception time at the time master device (S13). For example, the upstream time difference convergence unit 15 converges the upstream time difference through time servo operation based on the provisional downstream time difference and the repeatedly measured upstream time difference.
- the time synchronization unit 16 synchronizes the time of the slave clock 12 with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference (S14). For example, the time synchronization unit 16 synchronizes the time of the slave clock 12 with the time of the master clock using a time correction value based on the convergence results of the downstream time difference and the upstream time difference.
- the downstream time difference (MTSD') and the upstream time difference (STMD') are converged, and time synchronization is performed based on the convergence results.
- MTSD' downstream time difference
- STMD' upstream time difference
- the actual delay can be determined from the convergence results of MTSD' and STMD', and time synchronization is performed using a time correction value based on the actual delay, making it possible to reduce the time difference between the master clock and slave clock to zero.
- Fig. 7 shows an example of the operation of the time slave device 100.
- Fig. 8 shows an example of the configuration of a time synchronization system 1 including the time slave device 100.
- the time synchronization system 1 includes a time slave device 100 and a time master device 200.
- the time slave device 100 includes a PDV filter 110, an MTSD servo 120, an STMD servo 130, and a correction value calculation unit 140. Each component will be described later.
- the PDV filter 110 has the same configuration as in the basic example.
- the time slave device 100 provisionally loads the internal clock 650 with a t1 packet (S101).
- the t1 packet receiver 710 receives a t1 packet from the time master device 200 and sets the time (timestamp) of the received t1 packet in the internal clock 650.
- the time slave device 100 operates the PDV filter 110 and obtains provisional MTSD' and STMD' (provisional PDV values) (S102).
- provisional MTSD' and STMD' provisional PDV values
- the t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742 select the shortest provisional MTSD' and STMD' values from the MTSD' and STMD' calculated by the t2'-t1 calculation unit 731 and the t4-t3' calculation unit 741.
- the initial values of provisional MTSD' and STMD' may be the values calculated initially, or the shortest times within a specified period of time.
- the t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742 hold the selected provisional MTSD' and STMD'.
- the packet filter processing unit 700 determines the MTSD correction value and the STMD correction value using the retained provisional MTSD' and STMD' as the shortest time.
- the PTP time synchronization unit 800 performs time synchronization using the MTSD correction value and the STMD correction value.
- the time slave device 100 waits until the PTP time servo is synchronized (S103).
- the time slave device 100 waits until time synchronization is stable in order to start operation of the MTSD servo 120 and STMD servo 130. For example, it may wait until the proportional term of the transfer function in the PLL control of the PTP time servo (PTP time synchronization unit 800) becomes zero.
- the time slave device 100 may have a memory unit that stores a synchronization flag, and may set the synchronization flag to on when the PTP time servo is synchronized.
- the time slave device 100 passes the provisional MTSD' and STMD' to the MTSD servo 120 and STMD servo 130 (S104).
- the PTP time servo is synchronized (e.g., after the synchronization flag is turned on)
- the t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742 output the retained provisional MTSD' and STMD' to the MTSD servo 120 and STMD servo 130.
- the time slave device 100 operates the MTSD servo 120 (S105).
- the provisional MTSD' and STMD' are given in S104, the true MTSD' can be determined from the provisional MTSD' by servo operation.
- the MTSD servo 120 performs one-way time servo operation based on the actually measured MTSD' and the acquired provisional STMD'.
- the MTSD servo 120 outputs the converged result (PDVmtsd) from the time servo operation to the correction value calculation unit 140. Because the convergence result of the MTSD servo 120 includes half of the internal clock, the correction value calculation unit 140 holds half of the convergence result.
- the time slave device 100 operates the STMD servo 130 (S106).
- the STMD servo 130 performs one-way time servo operation based on the actually measured STMD' and the acquired provisional MTSD'. Note that while two-way time servo processing is also possible, one-way processing is preferable considering the implementation scale and processing speed.
- the STMD servo 130 outputs the converged result (PDVstmd) from the time servo operation to the correction value calculation unit 140. Because the converged result from the STMD servo 130 includes half of the internal clock, the correction value calculation unit 140 holds half of the converged result.
- the time slave device 100 calculates the true delay from the operation results of the MTSD servo 120 and STMD servo 130 (S107).
- the correction value calculation unit 140 adds the information about the MTSD servo 120 obtained in S105 (half of the convergence result) and the information about the STMD servo 130 obtained in S106 (half of the convergence result) to calculate the time difference between the master clock and the internal clock.
- the correction value calculation unit 140 calculates the true delay from the provisional MTSD' and STMD' obtained in S104 and the calculated time difference between the master clock and the internal clock.
- the time slave device 100 sets the Correction Field based on the calculated original delay (S108).
- the correction value calculation unit 140 outputs the calculated original delay as a correction value to the t1 correction value update unit 734 or the t4 correction value update unit 744.
- the t1 correction value update unit 734 or the t4 correction value update unit 744 adds the correction value to the Correction Field of the t1 packet or the t4 packet.
- the time difference between the master clock and slave clock can be reduced to zero. Basically, this process only needs to be performed once, but if this process is not performed periodically in case the master clock is changed or frequency synchronization cannot be achieved, the slave time may become out of sync. For this reason, the user can set a periodic processing time and perform the process in Figure 7 periodically.
- Fig. 9 shows the relationship between the master clock of the time master device 200 and the internal clock of the time slave device 100.
- X-X' is the time difference between the master clock and the internal clock.
- the actual delay can be determined. In this embodiment, this relationship is used to enable asymmetric delay correction.
- time synchronization can be achieved using the PDVmtsd (MTSD') and PDVstmd (STMD') values obtained from the PDV filter 110.
- PDV value is a fixed value, it is not possible to generate a clock. Therefore, in this embodiment, as will be described later in Figures 14 and 15, time servos (MTSD servo 120 and STMD servo 130) are configured using the original delay and PDV value. This means that by setting one of the time servos to the PDV value and the other to the original delay, synchronization is achieved at half the time of the internal clock. By operating these time servos independently at MTSD and STMD, and then adding together the halves of the time, the time difference between the master clock and the slave internal clock can be determined.
- Figure 10 shows an example of the operation results of the MTSD servo 120 and the STMD servo 130.
- the horizontal axis represents time, and the numbers represent the clock count values.
- the servo value of the MTSD servo 120 (the difference between the PDV value on the STMD side and the original delay on the MTSD side) converges to 13 ⁇ s. For example, in the MTSD servo 120, if the PDV value on the STMD side is "248" and the original delay on the MTSD side is "261", the servo value will be 13 ⁇ s.
- the servo value of the STMD servo 130 (the difference between the PDV value on the MTSD side and the original delay on the STMD side) converges to 7 ⁇ s.
- the servo value will be 7 ⁇ s.
- Figure 11 shows another example of the operation results of the MTSD servo 120 and STMD servo 130 (the horizontal axis is the same as in Figure 10).
- the servo value of the MTSD servo 120 converges to 18 ⁇ s.
- the servo value of the STMD servo 130 converges to 12 ⁇ s.
- the timing chart in Figure 12 shows the timing when the MTSD side servo value (PDVmtsd) is 13 ⁇ s, the STMD side servo value (PDVstmd) is 7 ⁇ s, and the time difference between the master clock and the internal clock is 10 ⁇ s, as shown in the example in Figure 10.
- the servos for both the MTSD and STMD operate in 1-way mode.
- the STMD side is in the opposite direction, so the actual delay appears to be in the positive direction. Therefore, once the time difference is known, the MTSD side adds the internal clock minutes (difference) and the STMD side subtracts the internal clock minutes (difference), thereby allowing the actual delay to be calculated.
- the actual delay is "261.”
- the PDV value on the MTSD side is "251," and the difference between the master clock and the internal clock is "10,” as shown in Figure 12, then the actual delay is "261.”
- This value is known to the servo on the slave side, but is not actually expressed numerically.
- the time synchronization system 1 includes a time slave device 100 and a time master device 200.
- the time synchronization system 1 is a system that performs time synchronization between the time slave device 100 and the time master device 200 using PTP.
- the time slave device 100 and the time master device 200 may be wireless communication devices capable of wireless communication, or may be wired communication devices capable of wired communication.
- the time master device 200 is a time synchronization device that operates as a master in PTP time synchronization.
- the time master device 200 transmits and receives PTP packets to and from the time slave device 100 via a wireless transmission path or a wired transmission path.
- the time slave device 100 is a time synchronization device that operates as a slave in PTP time synchronization.
- the time slave device 100 transmits and receives PTP packets to and from the time master device 200 via a wireless transmission path or a wired transmission path.
- the time slave device 100 comprises a PDV filter 110, an MTSD servo 120, an STMD servo 130, and a correction value calculation unit 140.
- the MTSD servo 120, STMD servo 130, and correction value calculation unit 140 are not limited to being located inside the time slave device 100, but may also be located outside the time slave device 100.
- the MTSD servo 120, STMD servo 130, and correction value calculation unit 140 may be located in a cloud-based computer system.
- the PDV filter 110 is a time synchronization unit that includes a packet filter, similar to the basic example in Figure 1. As will be described later, the PDV filter 110, like the basic example, includes a PTP frequency synchronization unit 600, a packet filter processing unit 700, and a PTP time synchronization unit 800.
- the time slave device 100 includes three PTP time servos: the PTP time synchronization unit 800 of the PDV filter 110, an MTSD servo 120, and an STMD servo 130. The three time servos may be implemented independently, or one time servo may implement all three functions.
- the PDV filter 110 loads the time of the t1 packet into the internal clock 650 and synchronizes the frequency of the internal clock 650 to the frequency of the time master device 200.
- the PDV filter 110 calculates the time difference (MTSD') between the packet transmission time (t1) from the time master device 200 and the packet reception time (t2') stamped by the internal clock 650, and stores the provisional MTSD' (provisional shortest time). It also calculates the time difference (STMD') between the packet transmission time (t3') stamped by the internal clock 650 and the packet reception time (t4) at the time master device 200, and stores the provisional STMD' (provisional shortest time).
- the PDV filter 110 outputs the provisional MTSD' and STMD' to the MTSD servo 120 and STMD servo 130.
- the PDV filter 110 acquires the correction value calculated by the correction value calculation unit 140, stores the acquired correction value in the Correction Field, and performs time synchronization with the time master device 200.
- the PDV filter 110 may output an OFM (Offset From Master) from the time of the time master device 200 and the time of the time slave device 100. Note that the time slave device 100 performs time correction using the PDV filter 110 itself, and is therefore completely independent of the physical layer (wired, wireless, etc.) of the PTP packet.
- OFM Offset From Master
- the MTSD servo 120 acquires the provisional MTSD' (PDVmtsd) and STMD' (PDVstmd) from the PDV filter 110 and converges the MTSD' through time servo operation.
- the MTSD servo 120 converges the MTSD' based on the provisional STMD' and the MTSD' that is actually measured repeatedly, and outputs the convergence result (PDVstmd) to the correction value calculation unit 140.
- the STMD servo 130 acquires the provisional MTSD' (PDVmtsd) and STMD' (PDVstmd) from the PDV filter 110 and converges the STMD' through time servo operation.
- the STMD servo 130 converges the STMD' based on the provisional MTSD' and the STMD' that is actually measured repeatedly, and outputs the convergence result (PDVstmd) to the correction value calculation unit 140.
- the correction value calculation unit 140 calculates the correction value used by the PDV filter 110 based on the convergence result of the MTSD' (PDVmtsd) obtained by the MTSD servo 120 and the convergence result of the STMD' (PDVstmd) obtained by the STMD servo 130.
- the correction value calculation unit 140 calculates the time difference between the master clock and the internal clock based on the acquired convergence results of the MTSD' and STMD', calculates the actual delay from that time difference, and calculates a correction value based on the actual delay.
- FIG. 13 shows an example configuration of a PDV filter 110 according to some embodiments, and in particular shows an example configuration of the packet filter processing unit 700.
- the PDV filter 110 includes a PTP frequency synchronization unit 600, a packet filter processing unit 700, and a PTP time synchronization unit 800.
- the PTP frequency synchronization unit 600 has the same configuration as in Figure 2, and the PTP time synchronization unit 800 has the same configuration as in Figure 4.
- the PTP frequency synchronization unit 600 and the PTP time synchronization unit 800 are each equipped with an internal clock 650 and a slave clock 820 as independent clocks (PTP Epoch Counters).
- the reason for having an independent clock is that each clock has a different purpose.
- the internal clock 650 of the PTP frequency synchronization unit 600 is a clock used to determine the quality of received packets, and is generated based on the jitter- and wonder-free clean clock output from the OCXO 810.
- the slave clock 820 of the PTP time synchronization unit 800 is a clock used to synchronize the time with the master time.
- the slave clock 820 is what is known as a time synchronization clock, and is the clock within the device.
- the packet filter processing unit 700 has the same configuration as in Figure 3, but the outputs of the t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742, and the inputs of the t1 correction value update unit 734 and the t4 correction value update unit 744 are different.
- the t1 packet receiving unit 710 receives a Sync message (t1 packet) from the time master device 200.
- the t2' packet stamping unit 730 stamps the time at which the t1 packet receiving unit 710 receives the t1 packet using the internal clock 650 generated by the PTP frequency synchronization unit 600, and sets this time as t2' time.
- the t2'-t1 calculation unit 731 obtains the t1 time from the Follow-up Message received by the Follow-up Message receiving unit 711, and calculates the difference between the stamped t2' time and the obtained t1 time (t2'-t1; MTSD').
- the value obtained from the Follow-up Message by the Follow-up Message receiver 711 is used as the t1 time, but either the 1-step (1-way) method or the 2-step method may be used.
- the 1-step method is the same as the 2-step method, except that the t1 time information is included in the t1 packet.
- the t2'-t1 calculation unit 731 outputs the calculated t2'-t1 (MTSD') to the t2'-t1 shortest time search and hold unit 732.
- the t2'-t1 shortest time search and hold unit 732 finds the shortest time from the time difference (t2'-t1) calculated by the t2'-t1 calculation unit 731 and holds the provisional MTSD' (shortest time).
- the t2'-t1 shortest time search and hold unit 732 separates the held shortest time (min PDV) from times other than the shortest (other min PDV; for example, the calculated MTSD'), and outputs these to the t2'-t1 correction unit 733.
- the t2'-t1 shortest time search and hold unit 732 also outputs the held provisional MTSD' to the MTSD servo 120 and STMD servo 130.
- the t2'-t1 correction unit 733 calculates a correction value for MTSD based on the shortest MTSD' time (provisional MTSD') and times other than the shortest time output from the t2'-t1 shortest time search and hold unit 732.
- the t2'-t1 correction unit 733 uses the difference between the shortest MTSD' time (provisional MTSD') and times other than the shortest time as the correction value.
- the t1 correction value update unit 734 adds the correction value calculated by the t2'-t1 correction unit 733 to the Correction Field of the t1 packet.
- the t1 correction value update unit 734 also acquires the correction value calculated by the correction value calculation unit 140 and adds the acquired correction value to the Correction Field of the t1 packet.
- the t3' packet stamping unit 740 stamps the transmission time of the t3 packet sent from the PTP time synchronization unit 800 using the internal clock 650 generated by the PTP frequency synchronization unit 600, and sets this time as the t3' time.
- the stamped t3' time is used only by the packet filter processing unit 700, and is not overwritten on the t3 time in the original t3 packet. For this reason, the t3 packet sending unit 712 sends the packet from the PTP time synchronization unit 800 as a Delay Request Message (t3 packet) to the time master device 200 as is.
- the t4 packet receiver 713 receives the t4 (Delay Response Message) packet sent from the time master device 200.
- the t4-t3' calculation unit 741 obtains the t4 time from the t4 packet received by the t4 packet receiver 713, and calculates the difference between the obtained t4 time and the stamped t3' time (t4-t3'; STMD').
- the t4-t3' calculation unit 741 outputs the calculated t4-t3' (STMD') to the t4-t3' shortest time search and hold unit 742.
- the t4-t3' shortest time search and hold unit 742 searches for the shortest time from the time difference (t4-t3') calculated by the t4-t3' calculation unit 741, and holds the provisional STMD' (shortest time).
- the t4-t3' shortest time search and hold unit 742 separates the held shortest time (min PDV) from times other than the shortest (other min PDV), and outputs these to the t4-t3' correction unit 743.
- the t4-t3' shortest time search and hold unit 742 also outputs the held provisional STMD' to the MTSD servo 120 and STMD servo 130.
- the t4-t3' correction unit 743 calculates a correction value for the STMD based on the shortest time of STMD' (provisional STMD') and times other than the shortest time output from the t4-t3' shortest time search and hold unit 742.
- the t4-t3' correction unit 743 uses the difference between the shortest time of STMD' (provisional STMD') and times other than the shortest time as the correction value.
- the t4 correction value update unit 744 adds the correction value calculated by the t4-t3' correction unit 743 to the Correction Field of the t4 packet.
- the t4 correction value update unit 744 also acquires the correction value calculated by the correction value calculation unit 140 and adds the acquired correction value to the Correction Field of the t4 packet.
- the t2' packet stamping unit 730 and t3' packet stamping unit 740 of the packet filter processing unit 700 require a clock that is frequency-synchronized with the time master device 200 and is jitter- and wander-free.
- the reason for this is that if frequency synchronization is not achieved, errors will occur in each stamped time, and if jitter or wander is present, the wrong time will be stamped even if frequency synchronization is achieved.
- PTP frequency synchronization unit 600 frequency synchronization with the time master device and jitter- and wonder-free clock recovery are achieved.
- the configuration of the PTP frequency synchronization unit 600 is as shown in Figure 2.
- the t2' packet stamping unit 610 stamps the time when the t1 packet is received by the t1 packet receiving unit 710 using the internal clock 650, and sets this time as the t2' time.
- a time counter internal clock 650
- DCO Digital Oscillator
- the differential signal resulting from this comparison is filtered by the IIR filter 630, which removes jitter and noise and creates a smoothed differential signal.
- This smoothed difference signal is then subjected to proportional and integral processing by the PI controller 640, and is output to the DCO in the internal clock 650 as a control signal that ultimately converges the difference signal to a constant value. This achieves frequency synchronization.
- the master oscillator (clock CLK) for the DCO in the internal clock 650 is the external OCXO 810.
- the reason for using an OCXO is that by minimizing the frequency drift of the DCO, it is possible to lower the DC loop gain of the PTP frequency synchronization unit 600, allowing for the reproduction of a highly accurate clock. Why a DCO is used, why PI control is necessary, and the PI control method for the DCO are all the same as for a normal digital PLL.
- the PTP time synchronization unit 800 has a general configuration for performing time synchronization using PTP.
- the configuration of the PTP time synchronization unit 800 is as shown in Figure 4.
- a slave clock 820 is constructed based on the clock CLK of the OCXO 810, which is the reference oscillation source.
- the t2 packet stamping unit 830 stamps the time when the t1 packet receiving unit 710 receives the t1 packet using the slave clock 820, and sets this time as t2 time.
- the t3 packet stamping unit 832 stamps the time when the t3 packet is transmitted using the slave clock 820, and sets this time as t3 time.
- the t3 packet stamping unit 832 inserts this time into the t3 packet, and transmits it from the t3 packet transmitting unit 712 to the time master device 200.
- the t2-t1 calculation unit 831 obtains the t1 time from the Follow-up Message received by the Follow-up Message receiving unit 711, and calculates the difference between the stamped t2 time and the obtained t1 time (t2-t1; MTSD). At this time, the t2-t1 calculation unit 831 calculates the time difference using the Correction Field of the t1 packet updated by the packet filter processing unit 700.
- the t4-t3 calculation unit 833 obtains the t4 time from the t4 packet received by the t4 packet receiving unit 713, and calculates the difference between the obtained t4 time and the stamped t3 time (t4-t3; STMD). At this time, the t4-t3 calculation unit 833 calculates the time difference using the Correction Field of the t4 packet updated by the packet filter processing unit 700.
- FIG. 14 shows an example configuration of an MTSD servo 120 according to some embodiments.
- the MTSD servo 120 includes an STMD holding unit 121, an MTSD measurement unit 122, a delay difference comparison unit 123, and an MTSD slave clock 124.
- the MTSD servo 120 constructs a time servo using the original delay on the MTSD side and the PDV value on the STMD side.
- one of the time servos is the fixed PDV value on the STMD side (STMD holding unit 121), and the other is the original delay on the MTSD side (MTSD measurement unit 122).
- the STMD holding unit 121 counts up according to the granularity of the internal clock.
- the delay difference comparison unit 123 compares the fixed PDV value on the STMD side with the original delay on the MTSD side, and adjusts the MTSD slave clock 124.
- the MTSD slave clock 124 controls addition to the time t2' of the MTSD measurement unit 122.
- the servo value of the MTSD servo 120 is the difference between the PDV value on the STMD side and the original delay on the MTSD side.
- FIG. 15 shows an example configuration of an STMD servo 130 according to some embodiments.
- the STMD servo 130 includes an MTSD holding unit 131, an STMD measuring unit 132, a delay difference comparing unit 133, and an STMD slave clock 134.
- the STMD servo 130 constructs a time servo using the original delay on the STMD side and the PDV value on the MTSD side.
- one of the time servos is the MTSD side fixed PDV value (MTSD holding unit 131), and the other is the original delay on the STMD side (STMD measurement unit 132).
- the MTSD holding unit 131 counts up according to the granularity of the internal clock.
- the delay difference comparison unit 133 compares the MTSD side fixed PDV value with the original delay on the STMD side, and adjusts the STMD slave clock 134.
- the STMD slave clock 134 controls addition to the time t3' of the STMD measurement unit 132.
- the servo value of the STMD servo 130 is the difference between the MTSD side PDV value and the original delay on the STMD side.
- frequency synchronization is performed before time synchronization, and an internal clock is generated from the reproduced frequency.
- This internal clock stamps the packet arrival time (t2) and packet transmission time (t3').
- Provisional MTSD' and STMD' are held, and the difference between this provisional value and the MTSD' calculated from t2' and t3' of each packet sent is stored in the Correction Field area, thereby providing a mechanism for synchronization at a certain provisional time.
- This embodiment utilizes the idea that if the time difference between the master clock and the internal clock is known from the provisional MTSD' and STMD', the actual delay can be calculated from the provisional MTSD' and STMD'.
- the actual delay can be calculated from the provisional MTSD' and STMD', and therefore the time difference can also be calculated, and this time difference is stored in the Correction Field area.
- the idea is used that the MTSD and STMD sides can each calculate the time based on half the internal clock using one-way time servos.
- Servo processing the delay based on the master time and the time based on the internal clock means that the calculated time is equivalent to half the internal clock.
- half of the time difference between the master clock and the internal clock is generated from the time servo on the PDVmtsd side based on the PDV value generated by the PDV filter, and half of the time difference between the master clock and the internal clock is also generated from the time servo on the PDVstmd side.
- asymmetric correction can be performed in a time synchronization system without using equipment for time correction, such as GNSS or measuring instruments. Furthermore, because the physical layer of the packet frame is not limited, asymmetric correction can be performed without relying on wired or wireless transmission paths.
- Each component in the above-described embodiments may be configured with hardware or software, or both, and may be configured with a single piece of hardware or software, or multiple pieces of hardware or software.
- Each device such as the time synchronization device (time master device, time slave device), and each function (processing) may be implemented by a computer 20 having a processor 21 such as a CPU and memory 22, which is a storage device, as shown in FIG. 16.
- a program for performing the method in the embodiment time synchronization method
- each function may be implemented by having processor 21 execute the program stored in memory 22.
- These programs include instructions (or software code) that, when loaded into a computer, cause the computer to perform one or more functions described in the embodiments.
- the programs may be stored on a non-transitory computer-readable medium or a tangible storage medium.
- computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray (registered trademark) disc or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device.
- the programs may also be transmitted on a transitory computer-readable medium or communication medium.
- transitory computer-readable medium or communication medium includes electrical, optical, acoustic, or other forms of propagated signals.
- a time synchronization device comprising: (Appendix 2) the downlink time difference convergence means converges the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink
- the time synchronization device according to claim 1.
- the downlink time difference convergence means A clock for convergence of downlink time difference, a measuring means for measuring the downstream time difference; a comparison means for controlling the clock for convergence of the downstream time difference in accordance with a comparison result between the provisional upstream time difference and the measured downstream time difference; 3.
- the time synchronization device comprising: (Appendix 4)
- the upstream time difference convergence means A clock for convergence of uplink time difference, a measuring means for measuring the uplink time difference; a comparison means for controlling the clock for convergence of the upstream time difference in accordance with a comparison result between the provisional downstream time difference and the measured upstream time difference; 3.
- the time synchronization device comprising: (Appendix 5) a calculation means for calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference; the time synchronization means synchronizes the time of the slave clock with the time of the master clock based on the time correction value; 5.
- the time synchronization device according to claim 1.
- the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference. 6.
- the time synchronization device 5.
- the calculation means calculates a downstream delay time based on the time difference between the master clock and the internal clock and the downstream time difference, calculates an upstream delay time based on the time difference between the master clock and the internal clock and the upstream time difference, and calculates the time correction value based on the downstream delay time and the upstream delay time.
- the time synchronization device according to claim 6.
- the time synchronization means corrects, by the time correction value, either the time difference between the packet transmission time from the time master device and the packet reception time stamped by the slave clock, or the time difference between the packet transmission time stamped by the slave clock and the packet reception time at the time master device, thereby synchronizing the time of the slave clock with the time of the master clock.
- the time synchronization device (Appendix 9) an internal clock and a slave clock; a frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of a master clock of a time master device; a downstream time difference convergence means for converging a downstream time difference, which is a time difference between a packet transmission time from the time master device and a packet reception time stamped by the internal clock; an upstream time difference convergence means for converging an upstream time difference, which is a time difference between a packet transmission time stamped by the internal clock and a packet reception time at the time master device; time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
- a time synchronization system comprising: (Appendix 10) A time synchronization device and a convergence device are provided, the time synchronization device comprises the internal clock, the slave clock, and the time synchronization means; The convergence device includes the downstream time difference convergence means
- the time synchronization system of claim 9. the downlink time difference convergence means converges the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference; the upstream time difference convergence means converges the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference; 11.
- the time synchronization system according to claim 9 or 10. (Appendix 12) a calculation means for calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference; the time synchronization means synchronizes the time of the slave clock with the time of the master clock based on the time correction value; 12.
- the time synchronization system according to any one of claims 9 to 11.
- the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference.
- the time synchronization system of claim 12. the calculation means calculates a downstream delay time based on the time difference between the master clock and the internal clock and the downstream time difference, calculates an upstream delay time based on the time difference between the master clock and the internal clock and the upstream time difference, and calculates the time correction value based on the downstream delay time and the upstream delay time. 14.
- the time synchronization system of claim 13 the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference. 14.
- the frequency of the internal clock is synchronized with the frequency of the master clock of the time master device, Converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, Converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference; Time synchronization method.
- (Appendix 16) Converging the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference; converging the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference; 16.
- the time synchronization method according to claim 15. (Appendix 17) calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference; synchronizing the time of the slave clock with the time of the master clock based on the time correction value; 17.
- the frequency of the internal clock is synchronized with the frequency of the master clock of the time master device, Converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, Converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
- a program that causes a computer to execute a process.
- Time synchronization system 10 Time synchronization device 11 Internal clock 12 Slave clock 13 Frequency synchronization unit 14 Downstream time difference convergence unit 15 Upstream time difference convergence unit 16 Time synchronization unit 20 Computer 21 Processor 22 Memory 100
- Time slave device 110 PDV filter 120 MTSD servo 121 STMD holding unit 122 MTSD measurement unit 123 Delay difference comparison unit 124 MTSD slave clock 130 STMD servo 131 MTSD holding unit 132 STMD measurement unit 133 Delay difference comparison unit 134 STMD slave clock 140 Correction value calculation unit 200
- Time master device 500 Time synchronization device 600
- Phase comparator 630 IIR filter 640 PI controller 650
- Internal clock 700 Packet filter processing unit 710 t1 packet receiving unit 711
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
本開示は、時刻同期装置、時刻同期システム、時刻同期方法及びプログラムに関する。 This disclosure relates to a time synchronization device, a time synchronization system, a time synchronization method, and a program.
装置間で時刻同期を行うためのプロトコルとして、PTP(Precision Time Protocol)を規定したIEEE(Institute of Electrical and Electronics Engineers)1588-2008(IEEE1588v2)が知られている。関連する技術として、例えば、特許文献1には、PTPにより時刻同期を行う時刻同期装置において、同期イーサネット信号(SyncE)を使用することなく、高精度に時刻同期を行う技術が記載されている。 IEEE (Institute of Electrical and Electronics Engineers) 1588-2008 (IEEE1588v2), which defines the Precision Time Protocol (PTP), is known as a protocol for synchronizing time between devices. Related technology, for example, Patent Document 1, describes a technology for achieving high-precision time synchronization in a time synchronization device that uses PTP without using synchronous Ethernet signals (SyncE).
特許文献1などの関連する技術では、IEEE1588-2008に従った時刻同期プロトコルを使用するが、IEEE1588-2008では、上り方向の遅延(STMD;Slave to Master Delay)と下り方向の遅延(MTSD;Master to Slave Delay)が同一であることを前提としている。従って、上り方向の遅延と下り方向の遅延に差があった場合、その差分だけ、マスタ時計とスレーブ時計の時刻差となって現れる。 Related technologies such as Patent Document 1 use a time synchronization protocol that conforms to IEEE 1588-2008, but IEEE 1588-2008 assumes that the upstream delay (STMD; Slave to Master Delay) and downstream delay (MTSD; Master to Slave Delay) are the same. Therefore, if there is a difference between the upstream delay and downstream delay, that difference will appear as the time difference between the master clock and slave clock.
本開示は、このような課題に鑑み、マスタ時計とスレーブ時計の時刻差を抑えることが可能な時刻同期装置、時刻同期システム、時刻同期方法及びプログラムを提供することを目的の一つとする。 In light of these issues, one of the objectives of this disclosure is to provide a time synchronization device, time synchronization system, time synchronization method, and program that can reduce the time difference between a master clock and a slave clock.
本開示の一態様に係る時刻同期装置は、内部時計及びスレーブ時計と、前記内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる周波数同期手段と、前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させる下り時刻差収束手段と、前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させる上り時刻差収束手段と、前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる時刻同期手段と、を備えるものである。 A time synchronization device according to one aspect of the present disclosure comprises an internal clock and a slave clock, frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of the master clock of a time master device, downstream time difference convergence means for converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, upstream time difference convergence means for converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, and time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
本開示の一態様に係る時刻同期システムは、内部時計及びスレーブ時計と、前記内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる周波数同期手段と、前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させる下り時刻差収束手段と、前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させる上り時刻差収束手段と、前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる時刻同期手段と、を備えるものである。 A time synchronization system according to one aspect of the present disclosure comprises an internal clock and a slave clock, frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of the master clock of a time master device, downstream time difference convergence means for converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, upstream time difference convergence means for converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, and time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
本開示の一態様に係る時刻同期方法は、内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させ、前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させ、前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させ、前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、スレーブ時計の時刻を前記マスタ時計の時刻に同期させるものである。 A time synchronization method according to one aspect of the present disclosure synchronizes the frequency of an internal clock with the frequency of a master clock in a time master device, converges a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock, converges an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device, and synchronizes the time of a slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
本開示の一態様に係るプログラムは、内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させ、前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させ、前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させ、前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、処理をコンピュータに実行させるためのプログラムである。 A program according to one aspect of the present disclosure causes a computer to execute the following processes: synchronize the frequency of an internal clock with the frequency of a master clock in a time master device; converge a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock; converge an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device; and synchronize the time of a slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference.
本開示によれば、マスタ時計とスレーブ時計の時刻差を抑えることができる。 According to this disclosure, it is possible to reduce the time difference between the master clock and the slave clock.
以下、図面を参照して実施の形態について説明する。各図面においては、同一の要素には同一の符号が付されており、必要に応じて重複説明は省略される。なお、各図面において示された矢印は説明のための例示であり、信号の種類や方向を限定するものではない。 The following describes the embodiments with reference to the drawings. In each drawing, the same elements are given the same reference numerals, and duplicate explanations will be omitted as necessary. Note that the arrows shown in each drawing are for illustrative purposes only and do not limit the type or direction of signals.
(基本例)
まず、実施の形態の基本となる基本例について説明する。
(Basic example)
First, a basic example that forms the basis of the embodiment will be described.
図1は、基本例に係る時刻同期装置500の構成例を示している。時刻同期装置500は、時刻マスタ機器とPTPにより時刻同期を行う時刻スレーブ機器である。 Figure 1 shows an example configuration of a time synchronization device 500 according to a basic example. The time synchronization device 500 is a time slave device that performs time synchronization with a time master device using PTP.
PTPでは、時刻マスタ機器と時刻スレーブ機器との間で、t1パケット(Sync Message)、t2パケット(Follow-up Message)、t3パケット(Delay Request Message)、t4パケット(Delay Response Message)が送受信され、それらの送受信の時刻を用いる。時刻マスタ機器がt1パケットを送信した時刻(t1)と時刻スレーブ機器がt1パケットを受信した時刻(t2)の差から下り方向の遅延時間(MTSD)を算出し、時刻スレーブ機器がt3パケットを送信した時刻(t3)と時刻マスタ機器がt3パケットを受信した時刻(t4)の差から上り方向の遅延時間(STMD)を算出し、それぞれの遅延時間に基づいて時刻同期を行う。 In PTP, t1 packets (Sync Message), t2 packets (Follow-up Message), t3 packets (Delay Request Message), and t4 packets (Delay Response Message) are sent and received between the time master device and the time slave device, and the times at which these packets are sent and received are used. The downstream delay time (MTSD) is calculated from the difference between the time (t1) when the time master device sends the t1 packet and the time (t2) when the time slave device receives the t1 packet, and the upstream delay time (STMD) is calculated from the difference between the time (t3) when the time slave device sends the t3 packet and the time (t4) when the time master device receives the t3 packet, and time synchronization is performed based on these respective delay times.
基本例は、特許文献1に基づいた例であり、送信側の時刻マスタ機器に周波数同期した内部時計を持ち、送信時計と時刻オフセットはあるものの周波数同期が確立した状況下で使われるため、内部時計で入出力パケットを打刻しても、遅延はわからないものの、パケット到着時間が、前回値より、早いか、遅いかは判断できるという特徴を有する。 The basic example is based on Patent Document 1 and has an internal clock that is frequency-synchronized with the time master device on the sending side, and although there is a time offset with the sending clock, it is used under conditions where frequency synchronization is established. Therefore, even if input and output packets are time-stamped using the internal clock, delays cannot be determined, but it is possible to determine whether the packet arrival time is earlier or later than the previous value.
図1の例では、時刻同期装置500は、PTP周波数同期部600、パケットフィルタ処理部700、PTP時刻同期部800を備える。 In the example of Figure 1, the time synchronization device 500 includes a PTP frequency synchronization unit 600, a packet filter processing unit 700, and a PTP time synchronization unit 800.
PTP周波数同期部600は、時刻マスタ機器と周波数同期を行うPTP周波数サーボである。図2は、PTP周波数同期部600の構成例を示している。 The PTP frequency synchronization unit 600 is a PTP frequency servo that performs frequency synchronization with the time master device. Figure 2 shows an example configuration of the PTP frequency synchronization unit 600.
図2の例では、PTP周波数同期部600は、t2’パケット打刻部610、位相比較器(PD;Phase Detector)620、IIR(Infinite Impulse Response)フィルタ630、PI(Phase Interpolation)制御器640、内部時計650を備える。 In the example of Figure 2, the PTP frequency synchronization unit 600 includes a t2' packet time stamping unit 610, a phase comparator (PD; Phase Detector) 620, an IIR (Infinite Impulse Response) filter 630, a PI (Phase Interpolation) controller 640, and an internal clock 650.
PTP周波数同期部600は、時刻マスタ機器からのパケット送信時刻(t1)とt2’パケット打刻部610が内部時計650によって打刻したパケット受信時刻(t2’)との時刻差(t2’-t1)が一定になるように、位相比較器620、IIRフィルタ630及びPI制御器640により、内部時計650の動作をPLL(Phase Locked Loop)制御する。つまり、PTP周波数同期部600は、時刻マスタ機器の出力信号(時刻)の周波数に、内部時計650の出力信号(時刻)の周波数を同期させる。 The PTP frequency synchronization unit 600 uses a phase comparator 620, an IIR filter 630, and a PI controller 640 to control the operation of the internal clock 650 with a PLL (Phase Locked Loop) so that the time difference (t2' - t1) between the packet transmission time (t1) from the time master device and the packet reception time (t2') stamped by the t2' packet stamping unit 610 using the internal clock 650 remains constant. In other words, the PTP frequency synchronization unit 600 synchronizes the frequency of the output signal (time) of the internal clock 650 with the frequency of the output signal (time) of the time master device.
パケットフィルタ処理部700は、周波数同期した内部時計650の時刻を用いて、パケットの遅延変動を求めるパケット遅延変動(Packet Delay Variation;PDV)フィルタを構成する。なお、PTP周波数同期部600、パケットフィルタ処理部700、PTP時刻同期部800を含めて、PDVフィルタと呼ぶ場合がある。図3は、パケットフィルタ処理部700の構成例を示している。 The packet filter processing unit 700 constitutes a packet delay variation (PDV) filter that uses the time of the frequency-synchronized internal clock 650 to determine packet delay variation. Note that the PTP frequency synchronization unit 600, packet filter processing unit 700, and PTP time synchronization unit 800 are sometimes collectively referred to as the PDV filter. Figure 3 shows an example configuration of the packet filter processing unit 700.
図3の例では、パケットフィルタ処理部700は、t1パケット受信部710、Follow-up Message(t2パケット)受信部711、t3パケット送信部712、t4パケット受信部713、t2’パケット打刻部730、t2’-t1算出部731、t2’-t1最短時間探索保持部732、t2’-t1補正部733、t1補正値更新部734、t3’パケット打刻部740、t4-t3’算出部741、t4-t3’最短時間探索保持部742、t4-t3’補正部743、t4補正値更新部744を備える。 In the example of FIG. 3, the packet filter processing unit 700 includes a t1 packet receiving unit 710, a Follow-up Message (t2 packet) receiving unit 711, a t3 packet transmitting unit 712, a t4 packet receiving unit 713, a t2' packet stamping unit 730, a t2'-t1 calculation unit 731, a t2'-t1 shortest time search and holding unit 732, a t2'-t1 correction unit 733, a t1 correction value update unit 734, a t3' packet stamping unit 740, a t4-t3' calculation unit 741, a t4-t3' shortest time search and holding unit 742, a t4-t3' correction unit 743, and a t4 correction value update unit 744.
パケットフィルタ処理部700は、時刻マスタ機器からのパケット送信時刻(t1)とt2’パケット打刻部730が内部時計650によって打刻したパケット受信時刻(t2’)との時刻差(t2’-t1;MTSD’)の最短時間に基づき、パケット送信時刻(t1)を補正する。具体的には、t2’-t1最短時間探索保持部732は、t2’-t1算出部731で算出された時刻差(t2’-t1)から最短時間を探し、それを保持する。t2’-t1最短時間探索保持部732は、保持した最短時間(min PDV)と最短時間以外(other min PDV)を分離して、出力する。t2’-t1補正部733は、t2’-t1最短時間探索保持部732の結果に基づいて、下り方向時刻の補正値を生成する。t2’-t1補正部733は、時刻差(t2’-t1)の最短時間(min PDV)と最短時間以外(other min PDV)の差から補正値を求める。t1補正値更新部734は、その補正値をt1パケットのCorrection Fieldに加算する。 The packet filter processing unit 700 corrects the packet transmission time (t1) based on the shortest time difference (t2'-t1; MTSD') between the packet transmission time (t1) from the time master device and the packet reception time (t2') stamped by the t2' packet stamping unit 730 using the internal clock 650. Specifically, the t2'-t1 shortest time search and hold unit 732 searches for the shortest time from the time difference (t2'-t1) calculated by the t2'-t1 calculation unit 731 and holds it. The t2'-t1 shortest time search and hold unit 732 separates and outputs the held shortest time (min PDV) and other times (other min PDV). The t2'-t1 correction unit 733 generates a correction value for the downstream time based on the results of the t2'-t1 shortest time search and hold unit 732. The t2'-t1 correction unit 733 calculates a correction value from the difference between the shortest time (min PDV) and the time other than the shortest time (other min PDV) of the time difference (t2'-t1). The t1 correction value update unit 734 adds this correction value to the Correction Field of the t1 packet.
また、パケットフィルタ処理部700は、t3’パケット打刻部740が内部時計650によって打刻したパケット送信時刻(t3’)と時刻マスタ機器でのパケット受信時刻(t4)との時刻差(t4-t3’;STMD’)の最短時間に基づき、パケット受信時刻(t4)を補正する。具体的には、t4-t3’最短時間探索保持部742は、t4-t3’算出部741で算出された時刻差(t4-t3’)から最短時間を探し、それを保持する。t4-t3’最短時間探索保持部742は、保持した最短時間(min PDV)と最短時間以外(other min PDV)を分離して、出力する。t4-t3’補正部743は、t4-t3’最短時間探索保持部742の結果に基づいて、上り方向時刻の補正値を生成する。t4-t3’補正部743は、時刻差(t4-t3’)の最短時間(min PDV)と最短時間以外(other min PDV)の差から補正値を求める。t4補正値更新部744は、その補正値をt4パケットのCorrection Fieldに加算する。 The packet filter processing unit 700 also corrects the packet reception time (t4) based on the shortest time difference (t4-t3'; STMD') between the packet transmission time (t3') stamped by the t3' packet stamping unit 740 using the internal clock 650 and the packet reception time (t4) at the time master device. Specifically, the t4-t3' shortest time search and hold unit 742 searches for the shortest time from the time difference (t4-t3') calculated by the t4-t3' calculation unit 741 and holds it. The t4-t3' shortest time search and hold unit 742 separates and outputs the held shortest time (min PDV) and other times (other min PDV). The t4-t3' correction unit 743 generates a correction value for the uplink time based on the results of the t4-t3' shortest time search and hold unit 742. The t4-t3' correction unit 743 calculates a correction value from the difference between the shortest time (min PDV) and the time other than the shortest time (other min PDV) of the time difference (t4-t3'). The t4 correction value update unit 744 adds this correction value to the Correction Field of the t4 packet.
PTP時刻同期部800は、時刻マスタ機器と時刻同期を行うPTP時刻サーボである。図4は、PTP時刻同期部800の構成例を示している。 The PTP time synchronization unit 800 is a PTP time servo that performs time synchronization with the time master device. Figure 4 shows an example configuration of the PTP time synchronization unit 800.
図4の例では、PTP時刻同期部800は、OCXO(Oven Controlled Crystal Oscillator)810、スレーブ時計820、t2パケット打刻部830、t2-t1算出部831、t3パケット打刻部832、t4-t3算出部833、補数化部834、加算器835、PI制御器836を備える。 In the example of Figure 4, the PTP time synchronization unit 800 includes an OCXO (Oven Controlled Crystal Oscillator) 810, a slave clock 820, a t2 packet time-stamping unit 830, a t2-t1 calculation unit 831, a t3 packet time-stamping unit 832, a t4-t3 calculation unit 833, a complementation unit 834, an adder 835, and a PI controller 836.
PTP時刻同期部800は、パケットフィルタ処理部700で補正されたパケット送信時刻(t1)と、t2パケット打刻部830がスレーブ時計820によって打刻したパケット受信時刻(t2)とから下り方向遅延時間(t2-t1;MTSD)を算出し、t3パケット打刻部832がスレーブ時計820によって打刻したパケット送信時刻(t3)と、パケットフィルタ処理部700で補正されたパケット受信時刻(t4)とから上り方向遅延時間(t4-t3;STMD)を算出し、下り方向遅延時間(t4-t3)と上り方向遅延時間(t2-t1)とが等しくなるように、補数化部834、加算器835及びPI制御器836により、スレーブ時計820の動作をPLL制御する。つまり、PTP時刻同期部800は、時刻マスタ機器の出力信号(時刻)に、スレーブ時計820の出力信号(時刻)を同期させる。 The PTP time synchronization unit 800 calculates the downstream delay time (t2-t1; MTSD) from the packet transmission time (t1) corrected by the packet filter processing unit 700 and the packet reception time (t2) stamped by the slave clock 820 by the t2 packet stamping unit 830, and calculates the upstream delay time (t4-t3; STMD) from the packet transmission time (t3) stamped by the slave clock 820 by the t3 packet stamping unit 832 and the packet reception time (t4) corrected by the packet filter processing unit 700.The complementation unit 834, adder 835, and PI controller 836 PLL-control the operation of the slave clock 820 so that the downstream delay time (t4-t3) and the upstream delay time (t2-t1) are equal. In other words, the PTP time synchronization unit 800 synchronizes the output signal (time) of the slave clock 820 with the output signal (time) of the time master device.
このように、基本例では、時刻同期の前に周波数同期を取り、その再生された周波数から、内部時計を生成し、その内部時計で、パケット到着時間(t2’)とパケット送信時刻(t3’)を打刻し、MTSD’の最短時間とSTMD’の最短時間を基準に、毎回送信されるパケットのt2’及びt3’から算出されるMTSD’との差分及びSTMD’との差分を、IEEE1588-2008のCorrection Fieldエリアに格納することで、遅延の最短時間を用いて時刻同期を行う。 In this way, in the basic example, frequency synchronization is performed before time synchronization, and an internal clock is generated from the reproduced frequency. This internal clock then stamps the packet arrival time (t2') and packet transmission time (t3'). Using the shortest MTSD' and STMD' times as the basis, the difference between MTSD' and STMD' calculated from t2' and t3' of each packet sent is stored in the Correction Field area of IEEE 1588-2008, and time synchronization is performed using the shortest delay time.
基本例のように、関連する時刻同期方法として、IEEE1588-2008に従った時刻同期プロトコルが利用されている。しかし、IEEE1588-2008は、前提条件として、上り・下りの遅延が同一であることを前提としたプロトコルである。従って、上り遅延と下り遅延に差があった場合、その差分だけ、時刻差となって現れる。厳密には、遅延差の1/2分時刻が悪化する。現状、国際勧告では、GNSS(Global Navigation Satellite System)などの絶対時刻を使ったAssisted Partial Timingで時刻補正することを定義しているが、GNSSを使うことは、機能実装面・運用面・セキュリティ面などで容易に使うことはできない。また、IEEE1588以外のプロトコルでも、遅延差の問題は回避できないため、新たなプロトコルを考え出すことは非常に困難である。 As in the basic example, the relevant time synchronization method uses a time synchronization protocol conforming to IEEE 1588-2008. However, IEEE 1588-2008 is a protocol that assumes that the upstream and downstream delays are identical. Therefore, if there is a difference between the upstream and downstream delays, that difference will appear as a time difference. Strictly speaking, the time will deteriorate by half a minute of the delay difference. Currently, international recommendations define time correction using Assisted Partial Timing, which uses absolute time such as GNSS (Global Navigation Satellite System), but using GNSS is not easy to implement in terms of functionality, operation, and security. Furthermore, since the problem of delay differences cannot be avoided even with protocols other than IEEE 1588, devising a new protocol would be extremely difficult.
そこで、実施の形態では、基本例の構成をベースにして、上り遅延と下り遅延が非対称の場合における時刻補正の課題を解決し、マスタ時計とスレーブ時計の時刻差をゼロに抑えることを可能とする。 Therefore, in this embodiment, based on the configuration of the basic example, we solve the problem of time correction when the upstream delay and downstream delay are asymmetric, making it possible to suppress the time difference between the master clock and slave clock to zero.
(実施の形態1)
次に、実施の形態1について説明する。本実施の形態では、いくつかの実施の形態の概要を説明する。
(Embodiment 1)
Next, a first embodiment will be described. In this embodiment, an outline of several embodiments will be described.
図5は、いくつかの実施の形態に係る時刻同期装置10の構成例を示している。時刻同期装置10は、時刻マスタ機器(時刻マスタ装置)と時刻同期を行う時刻スレーブ機器(時刻スレーブ装置)である。時刻同期装置10は、時刻マスタ機器と無線通信を行う無線時刻同期装置でもよいし、時刻マスタ機器と有線通信を行う有線時刻同期装置でもよい。 Figure 5 shows an example configuration of a time synchronization device 10 according to some embodiments. The time synchronization device 10 is a time slave device (time slave device) that performs time synchronization with a time master device (time master device). The time synchronization device 10 may be a wireless time synchronization device that performs wireless communication with the time master device, or a wired time synchronization device that performs wired communication with the time master device.
図5の例では、時刻同期装置10は、内部時計11、スレーブ時計12、周波数同期部13、下り時刻差収束部14、上り時刻差収束部15、時刻同期部16を備える。例えば、内部時計11は、周波数同期部13に含まれる。スレーブ時計12は、時刻同期部16に含まれる。 In the example of FIG. 5, the time synchronization device 10 includes an internal clock 11, a slave clock 12, a frequency synchronization unit 13, a downstream time difference convergence unit 14, an upstream time difference convergence unit 15, and a time synchronization unit 16. For example, the internal clock 11 is included in the frequency synchronization unit 13. The slave clock 12 is included in the time synchronization unit 16.
周波数同期部13は、内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる。例えば、周波数同期部13は、PTP周波数同期部600に対応する。 The frequency synchronization unit 13 synchronizes the frequency of the internal clock with the frequency of the master clock of the time master device. For example, the frequency synchronization unit 13 corresponds to the PTP frequency synchronization unit 600.
下り時刻差収束部14は、時刻マスタ機器からのパケット送信時刻と内部時計11によって打刻したパケット受信時刻との時刻差(MTSD’)である下り時刻差を収束させる。例えば、下り時刻差収束部14は、パケットフィルタ処理部700から時刻差を取得してもよい。下り時刻差収束部14は、暫定的な上り時刻差と、繰り返し計測する下り時刻差とに基づいて、下り時刻差を収束させてもよい。例えば、下り時刻差収束部14は、時刻サーボから構成され、下り時刻差収束用の時計と、下り時刻差を計測する計測部と、暫定的な上り時刻差と計測した下り時刻差との比較結果に応じて、下り時刻差収束用の時計を制御する比較部とを備えてもよい。 The downstream time difference convergence unit 14 converges the downstream time difference, which is the time difference (MTSD') between the packet transmission time from the time master device and the packet reception time stamped by the internal clock 11. For example, the downstream time difference convergence unit 14 may acquire the time difference from the packet filter processing unit 700. The downstream time difference convergence unit 14 may converge the downstream time difference based on the provisional upstream time difference and the repeatedly measured downstream time difference. For example, the downstream time difference convergence unit 14 may be configured as a time servo and include a clock for downstream time difference convergence, a measurement unit that measures the downstream time difference, and a comparison unit that controls the clock for downstream time difference convergence depending on the comparison result between the provisional upstream time difference and the measured downstream time difference.
上り時刻差収束部15は、内部時計11によって打刻したパケット送信時刻と時刻マスタ機器でのパケット受信時刻との時刻差(STMD’)である上り時刻差を収束させる。上り時刻差収束部15は、パケットフィルタ処理部700から時刻差を取得してもよい。上り時刻差収束部15は、暫定的な下り時刻差と、繰り返し計測する上り時刻差とに基づいて、上り時刻差を収束させてもよい。例えば、上り時刻差収束部15は、時刻サーボから構成され、上り時刻差収束用の時計と、上り時刻差を計測する計測部と、暫定的な下り時刻差と計測した上り時刻差との比較結果に応じて、上り時刻差収束用の時計を制御する比較部と、を備えてもよい。 The upstream time difference convergence unit 15 converges the upstream time difference, which is the time difference (STMD') between the packet transmission time stamped by the internal clock 11 and the packet reception time at the time master device. The upstream time difference convergence unit 15 may acquire the time difference from the packet filter processing unit 700. The upstream time difference convergence unit 15 may converge the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference. For example, the upstream time difference convergence unit 15 may be configured as a time servo and include a clock for upstream time difference convergence, a measurement unit that measures the upstream time difference, and a comparison unit that controls the clock for upstream time difference convergence depending on the comparison result between the provisional downstream time difference and the measured upstream time difference.
時刻同期部16は、下り時刻差収束部14による下り時刻差の収束結果と上り時刻差収束部15による上り時刻差の収束結果に基づいて、スレーブ時計12の時刻をマスタ時計の時刻に同期させる。例えば、時刻同期部16は、PTP時刻同期部800に対応する。 The time synchronization unit 16 synchronizes the time of the slave clock 12 with the time of the master clock based on the convergence result of the downstream time difference by the downstream time difference convergence unit 14 and the convergence result of the upstream time difference by the upstream time difference convergence unit 15. For example, the time synchronization unit 16 corresponds to the PTP time synchronization unit 800.
また、時刻同期装置10は、下り時刻差の収束結果と上り時刻差の収束結果に基づいて、時刻補正値を算出する算出部を備えてもよい。この場合、時刻同期部16は、算出された時刻補正値に基づいて、スレーブ時計の時刻をマスタ時計の時刻に同期させてもよい。算出部は、下り時刻差の収束結果の1/2と上り時刻差の収束結果の1/2を加算して、マスタ時計と内部時計との時刻差を算出し、その時刻差に基づいて、時刻補正値を算出してもよい。算出部は、マスタ時計と内部時計との時刻差と、下り時刻差とに基づいて、下り遅延時間を算出し、マスタ時計と内部時計との時刻差と、上り時刻差とに基づいて、上り遅延時間を算出し、下り遅延時間と上り遅延時間に基づいて、時刻補正値を算出してもよい。例えば、時刻同期部16は、時刻マスタ機器からのパケット送信時刻とスレーブ時計によって打刻したパケット受信時刻との時刻差と、スレーブ時計によって打刻したパケット送信時刻と時刻マスタ機器でのパケット受信時刻との時刻差とのいずれかを、時刻補正値により補正し、スレーブ時計の時刻をマスタ時計の時刻に同期させてもよい。 The time synchronization device 10 may also be equipped with a calculation unit that calculates a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference. In this case, the time synchronization unit 16 may synchronize the time of the slave clock with the time of the master clock based on the calculated time correction value. The calculation unit may calculate the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculate the time correction value based on this time difference. The calculation unit may calculate the downlink delay time based on the time difference between the master clock and the internal clock and the downlink time difference, calculate the uplink delay time based on the time difference between the master clock and the internal clock and the uplink time difference, and calculate the time correction value based on the downlink delay time and the uplink delay time. For example, the time synchronization unit 16 may use a time correction value to correct either the time difference between the packet transmission time from the time master device and the packet reception time stamped by the slave clock, or the time difference between the packet transmission time stamped by the slave clock and the packet reception time at the time master device, and synchronize the time of the slave clock with the time of the master clock.
なお、時刻同期装置10における各部は、1つの装置または複数の装置に含まれてもよいし、1つの装置または複数の装置を備える時刻同期システムに含まれてもよい。すなわち、時刻同期システムが、内部時計11、スレーブ時計12、周波数同期部13、下り時刻差収束部14、上り時刻差収束部15、時刻同期部16を備えてもよい。時刻同期装置10における各部を分散配置してもよい。例えば、時刻同期装置10が内部時計11、スレーブ時計12、周波数同期部13、時刻同期部16を備え、他の装置が下り時刻差収束部14及び上り時刻差収束部15を備えてもよい。 Note that each unit in the time synchronization device 10 may be included in one device or multiple devices, or may be included in a time synchronization system including one device or multiple devices. That is, the time synchronization system may include the internal clock 11, slave clock 12, frequency synchronization unit 13, downstream time difference convergence unit 14, upstream time difference convergence unit 15, and time synchronization unit 16. The units in the time synchronization device 10 may also be distributed. For example, the time synchronization device 10 may include the internal clock 11, slave clock 12, frequency synchronization unit 13, and time synchronization unit 16, and another device may include the downstream time difference convergence unit 14 and upstream time difference convergence unit 15.
図6は、いくつかの実施の形態に係る時刻同期方法の例を示している。例えば、いくつかの実施の形態に係る時刻同期方法は、図5の時刻同期装置10により実行される。 FIG. 6 shows an example of a time synchronization method according to some embodiments. For example, the time synchronization method according to some embodiments is performed by the time synchronization device 10 of FIG. 5.
図6の例では、まず、周波数同期部13は、内部時計11の周波数を時刻マスタ機器の時計の周波数に同期させる。(S11)例えば、周波数同期部13は、PTP周波数同期部600と同様に時刻マスタ機器と周波数同期を行う。 In the example of FIG. 6, first, the frequency synchronization unit 13 synchronizes the frequency of the internal clock 11 with the frequency of the clock of the time master device. (S11) For example, the frequency synchronization unit 13 performs frequency synchronization with the time master device in the same way as the PTP frequency synchronization unit 600.
次に、下り時刻差収束部14は、時刻マスタ機器からのパケット送信時刻と内部時計11によって打刻したパケット受信時刻との時刻差(MTSD’)である下り時刻差を収束させる(S12)。例えば、下り時刻差収束部14は、暫定的な上り時刻差と、繰り返し計測する下り時刻差とに基づいて、時刻サーボ動作により、下り時刻差を収束させる。 Next, the downstream time difference convergence unit 14 converges the downstream time difference, which is the time difference (MTSD') between the packet transmission time from the time master device and the packet reception time stamped by the internal clock 11 (S12). For example, the downstream time difference convergence unit 14 converges the downstream time difference through time servo operation based on the provisional upstream time difference and the repeatedly measured downstream time difference.
次に、上り時刻差収束部15は、内部時計11によって打刻したパケット送信時刻と時刻マスタ機器でのパケット受信時刻との時刻差(STMD’)である上り時刻差を収束させる(S13)。例えば、上り時刻差収束部15は、暫定的な下り時刻差と、繰り返し計測する上り時刻差とに基づいて、時刻サーボ動作により、上り時刻差を収束させる。 Next, the upstream time difference convergence unit 15 converges the upstream time difference, which is the time difference (STMD') between the packet transmission time stamped by the internal clock 11 and the packet reception time at the time master device (S13). For example, the upstream time difference convergence unit 15 converges the upstream time difference through time servo operation based on the provisional downstream time difference and the repeatedly measured upstream time difference.
次に、時刻同期部16は、下り時刻差の収束結果と上り時刻差の収束結果に基づいて、スレーブ時計12の時刻をマスタ時計の時刻に同期させる(S14)。例えば、時刻同期部16は、下り時刻差の収束結果と上り時刻差の収束結果に基づいた時刻補正値を用いて、スレーブ時計12の時刻をマスタ時計の時刻に同期させる。 Next, the time synchronization unit 16 synchronizes the time of the slave clock 12 with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference (S14). For example, the time synchronization unit 16 synchronizes the time of the slave clock 12 with the time of the master clock using a time correction value based on the convergence results of the downstream time difference and the upstream time difference.
以上のように、本実施の形態では、基本例の構成をベースとした時刻同期装置において、下り方向の時刻差(MTSD’)と上り方向の時刻差(STMD’)をそれぞれ収束させて、その収束結果に基づいて時刻同期を行う。これにより、マスタ時計とスレーブ時計の時刻差を抑えることができる。すなわち、MTSD’とSTMD’の収束結果から、本来の遅延を求めることができ、本来の遅延に基づいた時刻補正値を用いて、時刻同期を行うことで、マスタ時計とスレーブ時計の時刻差をゼロにすることができる。 As described above, in this embodiment, in a time synchronization device based on the configuration of the basic example, the downstream time difference (MTSD') and the upstream time difference (STMD') are converged, and time synchronization is performed based on the convergence results. This makes it possible to reduce the time difference between the master clock and slave clock. In other words, the actual delay can be determined from the convergence results of MTSD' and STMD', and time synchronization is performed using a time correction value based on the actual delay, making it possible to reduce the time difference between the master clock and slave clock to zero.
(実施の形態2)
次に、実施の形態2について説明する。本実施の形態では、実施の形態1の具体例について説明する。
(Embodiment 2)
Next, a second embodiment will be described. In this embodiment, a specific example of the first embodiment will be described.
<動作例>
まず、いくつかの実施の形態に係る時刻スレーブ機器100の動作例について説明する。図7は、時刻スレーブ機器100の動作例を示している。図8は、時刻スレーブ機器100を含む時刻同期システム1の構成例を示している。例えば、時刻同期システム1は、時刻スレーブ機器100、時刻マスタ機器200を備えている。時刻スレーブ機器100は、PDVフィルタ110、MTSDサーボ120、STMDサーボ130、補正値計算部140を備える。各構成の説明については、後述する。なお、PDVフィルタ110は、基本例と同様の構成である。
<Example of operation>
First, an example of the operation of the time slave device 100 according to some embodiments will be described. Fig. 7 shows an example of the operation of the time slave device 100. Fig. 8 shows an example of the configuration of a time synchronization system 1 including the time slave device 100. For example, the time synchronization system 1 includes a time slave device 100 and a time master device 200. The time slave device 100 includes a PDV filter 110, an MTSD servo 120, an STMD servo 130, and a correction value calculation unit 140. Each component will be described later. The PDV filter 110 has the same configuration as in the basic example.
図7の例では、時刻スレーブ機器100は、暫定的にt1パケットで内部時計650をロードする(S101)。まず、t1パケット受信部710は、時刻マスタ機器200からt1パケットを受信し、受信したt1パケットの時刻(タイムスタンプ)を内部時計650に設定する。 In the example of Figure 7, the time slave device 100 provisionally loads the internal clock 650 with a t1 packet (S101). First, the t1 packet receiver 710 receives a t1 packet from the time master device 200 and sets the time (timestamp) of the received t1 packet in the internal clock 650.
続いて、時刻スレーブ機器100は、PDVフィルタ110を動作させ、暫定的なMTSD’及びSTMD’(暫定PDV値)を取得する(S102)。t2’-t1最短時間探索保持部732及びt4-t3’最短時間探索保持部742は、t2’-t1算出部731及びt4-t3’算出部741が算出したMTSD’及びSTMD’から暫定的なMTSD’及びSTMD’の最短時間を選択する。例えば、暫定的なMTSD’及びSTMD’の初期値は、最初に算出した値でもよいし、所定の時間内における最短時間でもよい。t2’-t1最短時間探索保持部732及びt4-t3’最短時間探索保持部742は、選択した暫定的なMTSD’及びSTMD’を保持する。パケットフィルタ処理部700は、保持した暫定的なMTSD’及びSTMD’を最短時間として、MTSDの補正値及びSTMDの補正値を求める。PTP時刻同期部800は、MTSDの補正値及びSTMDの補正値を用いて、時刻同期を行う。 Next, the time slave device 100 operates the PDV filter 110 and obtains provisional MTSD' and STMD' (provisional PDV values) (S102). The t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742 select the shortest provisional MTSD' and STMD' values from the MTSD' and STMD' calculated by the t2'-t1 calculation unit 731 and the t4-t3' calculation unit 741. For example, the initial values of provisional MTSD' and STMD' may be the values calculated initially, or the shortest times within a specified period of time. The t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742 hold the selected provisional MTSD' and STMD'. The packet filter processing unit 700 determines the MTSD correction value and the STMD correction value using the retained provisional MTSD' and STMD' as the shortest time. The PTP time synchronization unit 800 performs time synchronization using the MTSD correction value and the STMD correction value.
続いて、時刻スレーブ機器100は、PTP時刻サーボが同期するまで待つ(S103)。時刻スレーブ機器100は、MTSDサーボ120及びSTMDサーボ130の動作を開始するために、時刻同期が安定するまで待つ。例えば、PTP時刻サーボ(PTP時刻同期部800)のPLL制御における伝達関数の比例項がゼロになるまで待ってもよい。例えば、時刻スレーブ機器100は、同期フラグを記憶する記憶部を備え、PTP時刻サーボが同期した場合に同期フラグをオンに設定してもよい。 Next, the time slave device 100 waits until the PTP time servo is synchronized (S103). The time slave device 100 waits until time synchronization is stable in order to start operation of the MTSD servo 120 and STMD servo 130. For example, it may wait until the proportional term of the transfer function in the PLL control of the PTP time servo (PTP time synchronization unit 800) becomes zero. For example, the time slave device 100 may have a memory unit that stores a synchronization flag, and may set the synchronization flag to on when the PTP time servo is synchronized.
続いて、時刻スレーブ機器100は、暫定的なMTSD’及びSTMD’をMTSDサーボ120及びSTMDサーボ130に渡す(S104)。PTP時刻サーボが同期した後(例えば同期フラグがオンになった後)、t2’-t1最短時間探索保持部732及びt4-t3’最短時間探索保持部742は、保持した暫定的なMTSD’及びSTMD’を、MTSDサーボ120及びSTMDサーボ130に出力する。 Next, the time slave device 100 passes the provisional MTSD' and STMD' to the MTSD servo 120 and STMD servo 130 (S104). After the PTP time servo is synchronized (e.g., after the synchronization flag is turned on), the t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742 output the retained provisional MTSD' and STMD' to the MTSD servo 120 and STMD servo 130.
続いて、時刻スレーブ機器100は、MTSDサーボ120を動作させる(S105)。S104で暫定的なMTSD’及びSTMD’が与えられると、暫定的なMTSD’から本来のMTSD’をサーボ動作により求めることができる。このため、MTSDサーボ120では、実際に計測するMTSD’と、取得した暫定的なSTMD’を元に1way時刻サーボ動作を行う。MTSDサーボ120は、時刻サーボ動作により収束した結果(PDVmtsd)を補正値計算部140へ出力する。MTSDサーボ120の収束結果には、内部時計の1/2が含まれるため、補正値計算部140は、収束結果の1/2の値を保持する。 Next, the time slave device 100 operates the MTSD servo 120 (S105). When the provisional MTSD' and STMD' are given in S104, the true MTSD' can be determined from the provisional MTSD' by servo operation. For this reason, the MTSD servo 120 performs one-way time servo operation based on the actually measured MTSD' and the acquired provisional STMD'. The MTSD servo 120 outputs the converged result (PDVmtsd) from the time servo operation to the correction value calculation unit 140. Because the convergence result of the MTSD servo 120 includes half of the internal clock, the correction value calculation unit 140 holds half of the convergence result.
続いて、時刻スレーブ機器100は、STMDサーボ130を動作させる(S106)。S104で暫定的なMTSD’及びSTMD’が与えられると、暫定的なSTMD’から本来のSTMD’をサーボ動作により求めることができる。このため、STMDサーボ130では、実際に計測するSTMD’と、取得した暫定的なMTSD’を元に1way時刻サーボ動作を行う。なお、2wayでも時刻サーボ処理は可能だが、実装規模及び処理速度を考慮すると、1wayで処理することが好ましい。STMDサーボ130は、時刻サーボ動作により収束した結果(PDVstmd)を補正値計算部140へ出力する。STMDサーボ130により収束した結果は、内部時計の1/2が含まれるため、補正値計算部140は、収束結果の1/2の値を保持する。 Next, the time slave device 100 operates the STMD servo 130 (S106). When the provisional MTSD' and STMD' are given in S104, the original STMD' can be determined from the provisional STMD' by servo operation. For this reason, the STMD servo 130 performs one-way time servo operation based on the actually measured STMD' and the acquired provisional MTSD'. Note that while two-way time servo processing is also possible, one-way processing is preferable considering the implementation scale and processing speed. The STMD servo 130 outputs the converged result (PDVstmd) from the time servo operation to the correction value calculation unit 140. Because the converged result from the STMD servo 130 includes half of the internal clock, the correction value calculation unit 140 holds half of the converged result.
続いて、時刻スレーブ機器100は、MTSDサーボ120及びSTMDサーボ130の動作結果から、本来の遅延を算出する(S107)。補正値計算部140は、S105で求めたMTSDサーボ120の情報(収束結果の1/2)と、S106で求めたSTMDサーボ130の情報(収束結果の1/2)とを加算し、マスタ時計と内部時計との時刻差を算出する。補正値計算部140は、S104で得られた暫定的なMTSD’及びSTMD’と、算出したマスタ時計と内部時計との時刻差から、本来の遅延を算出する。 Next, the time slave device 100 calculates the true delay from the operation results of the MTSD servo 120 and STMD servo 130 (S107). The correction value calculation unit 140 adds the information about the MTSD servo 120 obtained in S105 (half of the convergence result) and the information about the STMD servo 130 obtained in S106 (half of the convergence result) to calculate the time difference between the master clock and the internal clock. The correction value calculation unit 140 calculates the true delay from the provisional MTSD' and STMD' obtained in S104 and the calculated time difference between the master clock and the internal clock.
続いて、時刻スレーブ機器100は、算出した本来の遅延により、Correction Fieldを設定する(S108)。補正値計算部140は、算出した本来の遅延を補正値として、t1補正値更新部734またはt4補正値更新部744に出力する。t1補正値更新部734またはt4補正値更新部744は、t1パケットまたはt4パケットのCorrection Fieldに補正値を加算する。 Next, the time slave device 100 sets the Correction Field based on the calculated original delay (S108). The correction value calculation unit 140 outputs the calculated original delay as a correction value to the t1 correction value update unit 734 or the t4 correction value update unit 744. The t1 correction value update unit 734 or the t4 correction value update unit 744 adds the correction value to the Correction Field of the t1 packet or the t4 packet.
以上の処理を行うことによって、マスタ時計とスレーブ時計の時刻差をゼロとすることができる。基本、本処理を1回のみ行えば良いが、マスタ時計が変更になった場合や周波数同期が確保でできなった場合を想定し、定期的に本処理を行わないと、スレーブ時刻がずれていく可能性がある。このため、ユーザにより定期処理時間を設定し、図7の処理を定期的に実行してもよい。 By performing the above process, the time difference between the master clock and slave clock can be reduced to zero. Basically, this process only needs to be performed once, but if this process is not performed periodically in case the master clock is changed or frequency synchronization cannot be achieved, the slave time may become out of sync. For this reason, the user can set a periodic processing time and perform the process in Figure 7 periodically.
<具体例>
次に、いくつかの実施の形態に係る時刻同期方法の具体例について説明する。図9は、時刻マスタ機器200のマスタ時計と時刻スレーブ機器100の内部時計との関係性を示している。時刻マスタ機器200(マスタ時計の時刻X)からt1パケットが送信されると、ある遅延(Delay)を経て、時刻スレーブ機器100(内部時計の時刻X’)に到着する。ここで、内部時計によりt2’を打刻して時刻差(MTSD’=PDVmtsd)を計測すると、次の関係が成立する。
t2’=Delay+(X-X’)=PDVmtsd ・・・式(1)
<Specific examples>
Next, a specific example of a time synchronization method according to some embodiments will be described. Fig. 9 shows the relationship between the master clock of the time master device 200 and the internal clock of the time slave device 100. When a t1 packet is transmitted from the time master device 200 (time X of the master clock), it arrives at the time slave device 100 (time X' of the internal clock) after a certain delay. Here, when t2' is stamped by the internal clock and the time difference (MTSD' = PDVmtsd) is measured, the following relationship holds:
t2'=Delay+(X-X')=PDVmtsd...Formula (1)
X-X’は、マスタ時計と内部時計の時刻差である。つまり、式(1)より、マスタ時計(基準時計)と内部時計との差がわかれば、必然的に本来の遅延(Delay)がわかる。本実施の形態では、この関係を利用して、非対称遅延補正を可能とする。 X-X' is the time difference between the master clock and the internal clock. In other words, from equation (1), if the difference between the master clock (reference clock) and the internal clock is known, the actual delay can be determined. In this embodiment, this relationship is used to enable asymmetric delay correction.
これを実現するためには、PDVフィルタ110から得られるPDVmtsd(MTSD’)とPDVstmd(STMD’)の値で時刻同期をとれば良い。しかし、PDV値は固定値であるため、時計を生成することはできない。そこで、本実施の形態では、図14及び図15で後述するように、本来の遅延とPDV値で時刻サーボ(MTSDサーボ120及びSTMDサーボ130)を構成する。これは、時刻サーボの一方をPDV値とし、他方を本来の遅延にすることで、内部時計との1/2の時刻で同期することを意味する。この時刻サーボをMTSD及びSTMDでそれぞれ独立に動作させ、更に時刻の1/2同士を加算することで、マスタ時計とスレーブ内部時計との時刻差がわかる。 To achieve this, time synchronization can be achieved using the PDVmtsd (MTSD') and PDVstmd (STMD') values obtained from the PDV filter 110. However, because the PDV value is a fixed value, it is not possible to generate a clock. Therefore, in this embodiment, as will be described later in Figures 14 and 15, time servos (MTSD servo 120 and STMD servo 130) are configured using the original delay and PDV value. This means that by setting one of the time servos to the PDV value and the other to the original delay, synchronization is achieved at half the time of the internal clock. By operating these time servos independently at MTSD and STMD, and then adding together the halves of the time, the time difference between the master clock and the slave internal clock can be determined.
図10は、MTSDサーボ120及びSTMDサーボ130の動作結果の例を示している。横軸は時間であり、数値は時計のカウント値である。1カウントはここでは16msとしている(すなわち、50の箇所は16ms×50=80ms)。図10の例では、MTSDサーボ120のサーボ値(STMD側のPDV値とMTSD側の本来の遅延の差)は、13μsに収束する。例えば、MTSDサーボ120において、STMD側のPDV値が「248」であり、MTSD側の本来の遅延が「261」となった場合、サーボ値は13μsとなる。また、STMDサーボ130のサーボ値(MTSD側のPDV値とSTMD側の本来の遅延の差)は、7μsに収束する。例えば、STMDサーボ130において、MTSD側のPDV値が「251」であり、STMD側の本来の遅延が「258」となった場合、サーボ値は7μsとなる。この場合、マスタ時計と内部時計との時刻差は、13+7=20の1/2である「10μs」となる。この値は、サーボ内の数値に現れるため、波形での計測は不要である。 Figure 10 shows an example of the operation results of the MTSD servo 120 and the STMD servo 130. The horizontal axis represents time, and the numbers represent the clock count values. Here, one count is 16 ms (i.e., 50 is 16 ms x 50 = 80 ms). In the example of Figure 10, the servo value of the MTSD servo 120 (the difference between the PDV value on the STMD side and the original delay on the MTSD side) converges to 13 μs. For example, in the MTSD servo 120, if the PDV value on the STMD side is "248" and the original delay on the MTSD side is "261", the servo value will be 13 μs. Furthermore, the servo value of the STMD servo 130 (the difference between the PDV value on the MTSD side and the original delay on the STMD side) converges to 7 μs. For example, in the STMD servo 130, if the PDV value on the MTSD side is "251" and the original delay on the STMD side is "258", the servo value will be 7 μs. In this case, the time difference between the master clock and the internal clock will be "10 μs", which is 1/2 of 13 + 7 = 20. This value appears as a numerical value within the servo, so there is no need to measure it on a waveform.
図11は、MTSDサーボ120及びSTMDサーボ130の動作結果の他の例を示している(横軸は図10と同様)。図11の例では、MTSDサーボ120のサーボ値は、18μsに収束する。また、STMDサーボ130のサーボ値は、12μsに収束する。この場合、マスタ時計と内部時計との時刻差は、18+12=30の1/2である「15μs」となる。 Figure 11 shows another example of the operation results of the MTSD servo 120 and STMD servo 130 (the horizontal axis is the same as in Figure 10). In the example of Figure 11, the servo value of the MTSD servo 120 converges to 18 μs. Also, the servo value of the STMD servo 130 converges to 12 μs. In this case, the time difference between the master clock and the internal clock is 15 μs, which is 1/2 of 18 + 12 = 30.
図12のタイミングチャートは、図10の例で示したようにMTSD側のサーボ値(PDVmtsd)が13μs、STMD側のサーボ値(PDVstmd)が7μs、マスタ時計と内部時計との時刻差が10μsの場合のタイミングを示している。 The timing chart in Figure 12 shows the timing when the MTSD side servo value (PDVmtsd) is 13 μs, the STMD side servo value (PDVstmd) is 7 μs, and the time difference between the master clock and the internal clock is 10 μs, as shown in the example in Figure 10.
本実施の形態では、両方向で時刻同期すると内部時計との差が算出できないため、MTSD及びSTMD共に、1wayモードでサーボを動作させる。この場合、STMD側は、逆方向になるため、実際の遅延は、プラス方向に見えることになる。このため、時刻差がわかれば、MTSD側は、内部時計分(差分)を加算し、STMD側は、内部時計分(差分)を減算することで、本来の遅延を算出することができる。 In this embodiment, since the difference with the internal clock cannot be calculated when time is synchronized in both directions, the servos for both the MTSD and STMD operate in 1-way mode. In this case, the STMD side is in the opposite direction, so the actual delay appears to be in the positive direction. Therefore, once the time difference is known, the MTSD side adds the internal clock minutes (difference) and the STMD side subtracts the internal clock minutes (difference), thereby allowing the actual delay to be calculated.
例えば、MTSD側のPDV値が、「251」であれば、図12のようにマスタ時計と内部時計の差が「10」の場合、「261」が本来の遅延である。この値は、スレーブ側でサーボはわかっていても、実際には数値で現れない値である。同様に、STMD側のPDV値が、「248」であれば、マスタ時計と内部時計の差が「10」の場合、「238」が本来の遅延である。以上から、マスタースレーブ間の時刻差は、261-238=23の1/2で「11.5ナノ秒」ずれていることになる。この値をPTP内Correction Fieldで補正することで、マスタースレーブ間の時刻差を「ゼロ」することができる。 For example, if the PDV value on the MTSD side is "251," and the difference between the master clock and the internal clock is "10," as shown in Figure 12, then the actual delay is "261." This value is known to the servo on the slave side, but is not actually expressed numerically. Similarly, if the PDV value on the STMD side is "248," and the difference between the master clock and the internal clock is "10," then the actual delay is "238." From the above, the time difference between the master and slave is 261 - 238 = 1/2 of 23, or "11.5 nanoseconds." By correcting this value using the Correction Field in PTP, the time difference between the master and slave can be reduced to "zero."
<構成例>
次に、いくつかの実施の形態に係る時刻同期システム1の構成例について説明する。図8に示したように、時刻同期システム1は、時刻スレーブ機器100、時刻マスタ機器200を備えている。時刻同期システム1は、時刻スレーブ機器100と時刻マスタ機器200の間でPTPにより時刻同期を行うシステムである。時刻スレーブ機器100及び時刻マスタ機器200は、無線通信可能な無線通信装置でもよいし、有線通信可能な有線通信装置でもよい。
<Configuration example>
Next, a configuration example of a time synchronization system 1 according to several embodiments will be described. As shown in Fig. 8, the time synchronization system 1 includes a time slave device 100 and a time master device 200. The time synchronization system 1 is a system that performs time synchronization between the time slave device 100 and the time master device 200 using PTP. The time slave device 100 and the time master device 200 may be wireless communication devices capable of wireless communication, or may be wired communication devices capable of wired communication.
時刻マスタ機器200は、PTPの時刻同期においてマスタとして動作する時刻同期装置である。時刻マスタ機器200は、無線伝送路または有線伝送路を介して、時刻スレーブ機器100との間で、PTP用のパケットを送受信する。 The time master device 200 is a time synchronization device that operates as a master in PTP time synchronization. The time master device 200 transmits and receives PTP packets to and from the time slave device 100 via a wireless transmission path or a wired transmission path.
時刻スレーブ機器100は、PTPの時刻同期においてスレーブとして動作する時刻同期装置である。時刻スレーブ機器100は、無線伝送路または有線伝送路を介して、時刻マスタ機器200との間で、PTP用のパケットを送受信する。時刻スレーブ機器100は、PDVフィルタ110、MTSDサーボ120、STMDサーボ130、補正値計算部140を備える。なお、MTSDサーボ120、STMDサーボ130、補正値計算部140は、時刻スレーブ機器100の内部に限らず、時刻スレーブ機器100の外部に備えられてもよい。例えば、クラウド上のコンピュータシステムにMTSDサーボ120、STMDサーボ130、補正値計算部140を配置してもよい。 The time slave device 100 is a time synchronization device that operates as a slave in PTP time synchronization. The time slave device 100 transmits and receives PTP packets to and from the time master device 200 via a wireless transmission path or a wired transmission path. The time slave device 100 comprises a PDV filter 110, an MTSD servo 120, an STMD servo 130, and a correction value calculation unit 140. Note that the MTSD servo 120, STMD servo 130, and correction value calculation unit 140 are not limited to being located inside the time slave device 100, but may also be located outside the time slave device 100. For example, the MTSD servo 120, STMD servo 130, and correction value calculation unit 140 may be located in a cloud-based computer system.
PDVフィルタ110は、図1の基本例と同様にパケットフィルタを含む時刻同期部である。PDVフィルタ110は、後述するように、基本例と同様、PTP周波数同期部600、パケットフィルタ処理部700、PTP時刻同期部800を備える。時刻スレーブ機器100は、PDVフィルタ110のPTP時刻同期部800、MTSDサーボ120、STMDサーボ130の3つのPTP時刻サーボを備える。3つの時刻サーボを独立して実装してもよいし、一つの時刻サーボで3つの機能を実装してもよい。 The PDV filter 110 is a time synchronization unit that includes a packet filter, similar to the basic example in Figure 1. As will be described later, the PDV filter 110, like the basic example, includes a PTP frequency synchronization unit 600, a packet filter processing unit 700, and a PTP time synchronization unit 800. The time slave device 100 includes three PTP time servos: the PTP time synchronization unit 800 of the PDV filter 110, an MTSD servo 120, and an STMD servo 130. The three time servos may be implemented independently, or one time servo may implement all three functions.
PDVフィルタ110は、t1パケットの時刻を内部時計650にロードし、内部時計650の周波数を時刻マスタ機器200の周波数に同期させる。PDVフィルタ110は、時刻マスタ機器200からのパケット送信時刻(t1)と内部時計650によって打刻したパケット受信時刻(t2’)との時刻差(MTSD’)を算出し、暫定的なMTSD’(暫定的な最短時間)を保持し、また、内部時計650によって打刻したパケット送信時刻(t3’)と時刻マスタ機器200でのパケット受信時刻(t4)との時刻差(STMD’)を算出し、暫定的なSTMD’(暫定的な最短時間)を保持する。PDVフィルタ110は、暫定的なMTSD’及びSTMD’をMTSDサーボ120及びSTMDサーボ130へ出力する。PDVフィルタ110は、補正値計算部140が計算した補正値を取得し、取得した補正値をCorrection Fieldに格納して、時刻マスタ機器200と時刻同期を行う。PDVフィルタ110は、時刻マスタ機器200の時刻と時刻スレーブ機器100の時刻から、OFM(Offset From Master)を出力してもよい。なお、時刻スレーブ機器100は、PDVフィルタ110そのものを使って時刻補正を行うため、PTPパケットの物理層(有線・無線など)には全く依存しない。 The PDV filter 110 loads the time of the t1 packet into the internal clock 650 and synchronizes the frequency of the internal clock 650 to the frequency of the time master device 200. The PDV filter 110 calculates the time difference (MTSD') between the packet transmission time (t1) from the time master device 200 and the packet reception time (t2') stamped by the internal clock 650, and stores the provisional MTSD' (provisional shortest time). It also calculates the time difference (STMD') between the packet transmission time (t3') stamped by the internal clock 650 and the packet reception time (t4) at the time master device 200, and stores the provisional STMD' (provisional shortest time). The PDV filter 110 outputs the provisional MTSD' and STMD' to the MTSD servo 120 and STMD servo 130. The PDV filter 110 acquires the correction value calculated by the correction value calculation unit 140, stores the acquired correction value in the Correction Field, and performs time synchronization with the time master device 200. The PDV filter 110 may output an OFM (Offset From Master) from the time of the time master device 200 and the time of the time slave device 100. Note that the time slave device 100 performs time correction using the PDV filter 110 itself, and is therefore completely independent of the physical layer (wired, wireless, etc.) of the PTP packet.
MTSDサーボ120は、PDVフィルタ110から暫定的なMTSD’(PDVmtsd)及びSTMD’(PDVstmd)を取得し、時刻サーボ動作により、MTSD’を収束させる。MTSDサーボ120は、暫定的なSTMD’と実際に繰り返し計測するMTSD’に基づいて、MTSD’を収束させ、収束結果(PDVstmd)を補正値計算部140へ出力する。 The MTSD servo 120 acquires the provisional MTSD' (PDVmtsd) and STMD' (PDVstmd) from the PDV filter 110 and converges the MTSD' through time servo operation. The MTSD servo 120 converges the MTSD' based on the provisional STMD' and the MTSD' that is actually measured repeatedly, and outputs the convergence result (PDVstmd) to the correction value calculation unit 140.
STMDサーボ130は、PDVフィルタ110から暫定的なMTSD’(PDVmtsd)及びSTMD’(PDVstmd)を取得し、時刻サーボ動作により、STMD’を収束させる。STMDサーボ130は、暫定的なMTSD’と実際に繰り返し計測するSTMD’に基づいて、STMD’を収束させ、収束結果(PDVstmd)を補正値計算部140へ出力する。 The STMD servo 130 acquires the provisional MTSD' (PDVmtsd) and STMD' (PDVstmd) from the PDV filter 110 and converges the STMD' through time servo operation. The STMD servo 130 converges the STMD' based on the provisional MTSD' and the STMD' that is actually measured repeatedly, and outputs the convergence result (PDVstmd) to the correction value calculation unit 140.
補正値計算部140は、MTSDサーボ120により得られたMTSD’の収束結果(PDVmtsd)と、STMDサーボ130により得られたSTMD’の収束結果(PDVstmd)に基づいて、PDVフィルタ110で使用する補正値を計算する。補正値計算部140は、取得したMTSD’の収束結果及びSTMD’の収束結果に基づいて、マスタ時計と内部時計との時刻差を算出し、その時刻差から本来の遅延を算出し、本来の遅延に基づいて、補正値を算出する。 The correction value calculation unit 140 calculates the correction value used by the PDV filter 110 based on the convergence result of the MTSD' (PDVmtsd) obtained by the MTSD servo 120 and the convergence result of the STMD' (PDVstmd) obtained by the STMD servo 130. The correction value calculation unit 140 calculates the time difference between the master clock and the internal clock based on the acquired convergence results of the MTSD' and STMD', calculates the actual delay from that time difference, and calculates a correction value based on the actual delay.
図13は、いくつかの実施の形態に係るPDVフィルタ110の構成例であり、特にパケットフィルタ処理部700の構成例を示している。PDVフィルタ110は、図1の基本例と同様、PTP周波数同期部600、パケットフィルタ処理部700、PTP時刻同期部800を備える。 FIG. 13 shows an example configuration of a PDV filter 110 according to some embodiments, and in particular shows an example configuration of the packet filter processing unit 700. As with the basic example in FIG. 1, the PDV filter 110 includes a PTP frequency synchronization unit 600, a packet filter processing unit 700, and a PTP time synchronization unit 800.
なお、PTP周波数同期部600は、図2と同様の構成であり、PTP時刻同期部800は、図4と同様の構成である。上記のように、PTP周波数同期部600、PTP時刻同期部800は、それぞれに独立した時計(PTP Epoch Counter)として、内部時計650及びスレーブ時計820を配備している。それぞれに独立した時計を持つ理由は、各時計の用途が異なるからである。PTP周波数同期部600の内部時計650は、上記のように、受信パケットの良否判定用の時計であり、OCXO810から出力されたジッタ・ワンダフリーのクリーンなクロックを元に生成されている。PTP時刻同期部800のスレーブ時計820は、その名の通り、マスタ時刻と同一時刻とするための時計である。スレーブ時計820がいわゆる時刻同期用の時計であり、装置内の時計となる。 Note that the PTP frequency synchronization unit 600 has the same configuration as in Figure 2, and the PTP time synchronization unit 800 has the same configuration as in Figure 4. As mentioned above, the PTP frequency synchronization unit 600 and the PTP time synchronization unit 800 are each equipped with an internal clock 650 and a slave clock 820 as independent clocks (PTP Epoch Counters). The reason for having an independent clock is that each clock has a different purpose. As mentioned above, the internal clock 650 of the PTP frequency synchronization unit 600 is a clock used to determine the quality of received packets, and is generated based on the jitter- and wonder-free clean clock output from the OCXO 810. The slave clock 820 of the PTP time synchronization unit 800, as its name suggests, is a clock used to synchronize the time with the master time. The slave clock 820 is what is known as a time synchronization clock, and is the clock within the device.
図13の例では、パケットフィルタ処理部700は、図3と同様の構成であるが、t2’-t1最短時間探索保持部732及びt4-t3’最短時間探索保持部742の出力、t1補正値更新部734及びt4補正値更新部744の入力が異なる。 In the example of Figure 13, the packet filter processing unit 700 has the same configuration as in Figure 3, but the outputs of the t2'-t1 shortest time search and hold unit 732 and the t4-t3' shortest time search and hold unit 742, and the inputs of the t1 correction value update unit 734 and the t4 correction value update unit 744 are different.
パケットフィルタ処理部700の基本的な動作について説明する。まず、下り方向では、t1パケット受信部710は、時刻マスタ機器200からのSync message(t1パケット)を受信する。t2’パケット打刻部730は、PTP周波数同期部600で生成された内部時計650により、t1パケット受信部710がt1パケットを受信した時刻を打刻し、その時刻をt2’時刻とする。t2’-t1算出部731は、Follow-up Message受信部711で受信したFollow-up Messageからt1時刻を取得し、打刻したt2’時刻と取得したt1時刻との差(t2’-t1;MTSD’)を算出する。 The basic operation of the packet filter processing unit 700 will be explained. First, in the downstream direction, the t1 packet receiving unit 710 receives a Sync message (t1 packet) from the time master device 200. The t2' packet stamping unit 730 stamps the time at which the t1 packet receiving unit 710 receives the t1 packet using the internal clock 650 generated by the PTP frequency synchronization unit 600, and sets this time as t2' time. The t2'-t1 calculation unit 731 obtains the t1 time from the Follow-up Message received by the Follow-up Message receiving unit 711, and calculates the difference between the stamped t2' time and the obtained t1 time (t2'-t1; MTSD').
なお、ここでは、IEEE1588v2で一般的な2STEP(2way)方式で説明しているため、t1の本当の時刻であるFollow-up Message受信部711がFollow-up Messageから得た値をt1時刻としているが、1STEP(1way)方式と2STEP方式のいずれを採用してもよい。1STEP方式の場合は、t1時刻の情報がt1パケットに入っている点を除き、2STEP方式と同様である。 Note that, since the explanation here is based on the 2-step (2-way) method that is common in IEEE 1588v2, the value obtained from the Follow-up Message by the Follow-up Message receiver 711, which is the actual time of t1, is used as the t1 time, but either the 1-step (1-way) method or the 2-step method may be used. The 1-step method is the same as the 2-step method, except that the t1 time information is included in the t1 packet.
t2’-t1算出部731は、算出したt2’-t1(MTSD’)をt2’-t1最短時間探索保持部732へ出力する。t2’-t1最短時間探索保持部732は、t2’-t1算出部731で算出された時刻差(t2’-t1)から最短時間を探し、暫定的なMTSD’(最短時間)を保持する。t2’-t1最短時間探索保持部732は、保持した最短時間(min PDV)と最短時間以外(other min PDV;例えば算出されたMTSD’)を分離して、t2’-t1補正部733へ出力する。また、t2’-t1最短時間探索保持部732は、保持した暫定的なMTSD’をMTSDサーボ120及びSTMDサーボ130へ出力する。 The t2'-t1 calculation unit 731 outputs the calculated t2'-t1 (MTSD') to the t2'-t1 shortest time search and hold unit 732. The t2'-t1 shortest time search and hold unit 732 finds the shortest time from the time difference (t2'-t1) calculated by the t2'-t1 calculation unit 731 and holds the provisional MTSD' (shortest time). The t2'-t1 shortest time search and hold unit 732 separates the held shortest time (min PDV) from times other than the shortest (other min PDV; for example, the calculated MTSD'), and outputs these to the t2'-t1 correction unit 733. The t2'-t1 shortest time search and hold unit 732 also outputs the held provisional MTSD' to the MTSD servo 120 and STMD servo 130.
t2’-t1補正部733(下り方向時刻補正部)は、t2’-t1最短時間探索保持部732から出力された、MTSD’の最短時間(暫定的なMTSD’)と最短時間以外に基づいてMTSDの補正値を算出する。t2’-t1補正部733は、MTSD’の最短時間(暫定的なMTSD’)と最短時間以外の差を補正値とする。t1補正値更新部734は、t2’-t1補正部733が算出した補正値を、t1パケットのCorrection Fieldに加算する。また、t1補正値更新部734は、補正値計算部140が計算した補正値を取得し、取得した補正値を、t1パケットのCorrection Fieldに加算する。 The t2'-t1 correction unit 733 (downstream time correction unit) calculates a correction value for MTSD based on the shortest MTSD' time (provisional MTSD') and times other than the shortest time output from the t2'-t1 shortest time search and hold unit 732. The t2'-t1 correction unit 733 uses the difference between the shortest MTSD' time (provisional MTSD') and times other than the shortest time as the correction value. The t1 correction value update unit 734 adds the correction value calculated by the t2'-t1 correction unit 733 to the Correction Field of the t1 packet. The t1 correction value update unit 734 also acquires the correction value calculated by the correction value calculation unit 140 and adds the acquired correction value to the Correction Field of the t1 packet.
上り方向では、t3’パケット打刻部740は、下り方向と同様に、PTP周波数同期部600で生成された内部時計650により、PTP時刻同期部800から送信されるt3パケットの送信時刻を打刻し、その時刻をt3’時刻とする。打刻されたt3’時刻は、パケットフィルタ処理部700のみで使用し、元のt3パケット内のt3時刻へ上書きは行わない。このため、t3パケット送信部712は、PTP時刻同期部800からのパケットをDelay Request Message(t3パケット)として、そのまま時刻マスタ機器200へ送信する。 In the upstream direction, just like in the downstream direction, the t3' packet stamping unit 740 stamps the transmission time of the t3 packet sent from the PTP time synchronization unit 800 using the internal clock 650 generated by the PTP frequency synchronization unit 600, and sets this time as the t3' time. The stamped t3' time is used only by the packet filter processing unit 700, and is not overwritten on the t3 time in the original t3 packet. For this reason, the t3 packet sending unit 712 sends the packet from the PTP time synchronization unit 800 as a Delay Request Message (t3 packet) to the time master device 200 as is.
t4パケット受信部713は、時刻マスタ機器200から送信されたt4(Delay Response Message)パケットを受信する。t4-t3’算出部741は、t4パケット受信部713で受信したt4パケットからt4時刻を取得し、取得したt4時刻と打刻したt3’時刻との差(t4-t3’;STMD’)を算出する。 The t4 packet receiver 713 receives the t4 (Delay Response Message) packet sent from the time master device 200. The t4-t3' calculation unit 741 obtains the t4 time from the t4 packet received by the t4 packet receiver 713, and calculates the difference between the obtained t4 time and the stamped t3' time (t4-t3'; STMD').
t4-t3’算出部741は、算出したt4-t3’(STMD’)をt4-t3’最短時間探索保持部742へ出力する。t4-t3’最短時間探索保持部742は、t4-t3’算出部741で算出された時刻差(t4-t3’)から最短時間を探し、暫定的なSTMD’(最短時間)を保持する。t4-t3’最短時間探索保持部742は、保持した最短時間(min PDV)と最短時間以外(other min PDV)を分離して、t4-t3’補正部743へ出力する。また、t4-t3’最短時間探索保持部742は、保持した暫定的なSTMD’をMTSDサーボ120及びSTMDサーボ130へ出力する。 The t4-t3' calculation unit 741 outputs the calculated t4-t3' (STMD') to the t4-t3' shortest time search and hold unit 742. The t4-t3' shortest time search and hold unit 742 searches for the shortest time from the time difference (t4-t3') calculated by the t4-t3' calculation unit 741, and holds the provisional STMD' (shortest time). The t4-t3' shortest time search and hold unit 742 separates the held shortest time (min PDV) from times other than the shortest (other min PDV), and outputs these to the t4-t3' correction unit 743. The t4-t3' shortest time search and hold unit 742 also outputs the held provisional STMD' to the MTSD servo 120 and STMD servo 130.
t4-t3’補正部743(上り方向時刻補正部)は、t4-t3’最短時間探索保持部742から出力された、STMD’の最短時間(暫定的なSTMD’)と最短時間以外に基づいてSTMDの補正値を算出する。t4-t3’補正部743は、STMD’の最短時間(暫定的なSTMD’)と最短時間以外の差を補正値とする。t4補正値更新部744は、t4-t3’補正部743が算出した補正値を、t4パケットのCorrection Fieldに加算する。また、t4補正値更新部744は、補正値計算部140が計算した補正値を取得し、取得した補正値を、t4パケットのCorrection Fieldに加算する。 The t4-t3' correction unit 743 (upstream time correction unit) calculates a correction value for the STMD based on the shortest time of STMD' (provisional STMD') and times other than the shortest time output from the t4-t3' shortest time search and hold unit 742. The t4-t3' correction unit 743 uses the difference between the shortest time of STMD' (provisional STMD') and times other than the shortest time as the correction value. The t4 correction value update unit 744 adds the correction value calculated by the t4-t3' correction unit 743 to the Correction Field of the t4 packet. The t4 correction value update unit 744 also acquires the correction value calculated by the correction value calculation unit 140 and adds the acquired correction value to the Correction Field of the t4 packet.
以上説明したように、暫定的に時刻パケットを取得し、そのパケットを元に時刻を補正することで、ある時刻差を持った時刻同期が可能となる。 As explained above, by provisionally obtaining time packets and correcting the time based on those packets, it is possible to achieve time synchronization with a certain time difference.
また、以上の説明から、パケットフィルタ処理部700のt2’パケット打刻部730とt3’パケット打刻部740では、時刻マスタ機器200に周波数同期し、かつジッタ・ワンダフリーなクロックが必要である。その理由は、周波数同期してしないと、毎回の打刻時刻に誤差が発生し、また、ジッタ・ワンダがあると例え周波数同期していても、誤った時刻を打刻してしまうからである。 Furthermore, from the above explanation, the t2' packet stamping unit 730 and t3' packet stamping unit 740 of the packet filter processing unit 700 require a clock that is frequency-synchronized with the time master device 200 and is jitter- and wander-free. The reason for this is that if frequency synchronization is not achieved, errors will occur in each stamped time, and if jitter or wander is present, the wrong time will be stamped even if frequency synchronization is achieved.
そこで、基本例と同様、PTP周波数同期部600を実装することで、時刻マスタ機器との周波数同期とジッタ・ワンダフリーなクロック再生を実現する。PTP周波数同期部600の構成は、図2の通りである。 As with the basic example, by implementing a PTP frequency synchronization unit 600, frequency synchronization with the time master device and jitter- and wonder-free clock recovery are achieved. The configuration of the PTP frequency synchronization unit 600 is as shown in Figure 2.
PTP周波数同期部600の基本的な動作について説明する。まず、t2’パケット打刻部610は、t1パケット受信部710でt1パケットを受信した時刻を内部時計650によって打刻し、この時刻をt2’時刻とする。次に、位相比較器620は、Follow-up Message受信部711で受信したFollow-up Messageからt1時刻を取り出し、t1時刻とt2’時刻とを比較(すなわち位相比較)する。位相比較器620は、t1時刻と、DCO(Digital Oscillator)で構成された時刻カウンタ(内部時計650)からの時刻(=位相)とを比較しているとも言える。その比較結果である差分信号は、IIRフィルタ630でフィルタ処理されることにより、ジッタやノイズが除去され平滑化された差分信号となる。そして、その平滑化された差分信号は、PI制御器640で比例・積分処理されることにより、その差分信号を最終的に一定に収束させる制御信号として、内部時計650内のDCOに出力される。これにより、周波数同期が行われる。 The basic operation of the PTP frequency synchronization unit 600 will be explained. First, the t2' packet stamping unit 610 stamps the time when the t1 packet is received by the t1 packet receiving unit 710 using the internal clock 650, and sets this time as the t2' time. Next, the phase comparator 620 extracts the t1 time from the Follow-up Message received by the Follow-up Message receiving unit 711, and compares the t1 time with the t2' time (i.e., compares the phases). It can also be said that the phase comparator 620 compares the t1 time with the time (= phase) from a time counter (internal clock 650) made up of a DCO (Digital Oscillator). The differential signal resulting from this comparison is filtered by the IIR filter 630, which removes jitter and noise and creates a smoothed differential signal. This smoothed difference signal is then subjected to proportional and integral processing by the PI controller 640, and is output to the DCO in the internal clock 650 as a control signal that ultimately converges the difference signal to a constant value. This achieves frequency synchronization.
なお、内部時計650内のDCOの原振(クロックCLK)は、外部のOCXO810とする。OCXOにした理由は、DCOの周波数ドリフトを限りなく小さくすることで、PTP周波数同期部600の直流ループゲインを下げることが可能となり、高精度なクロックを再生できるためである。ここで、なぜ、DCOを使うのか、なぜ、PI制御が必要なのか、更にDCOに対するPI制御方法などについては、通常のディジタルPLLと同様である。 The master oscillator (clock CLK) for the DCO in the internal clock 650 is the external OCXO 810. The reason for using an OCXO is that by minimizing the frequency drift of the DCO, it is possible to lower the DC loop gain of the PTP frequency synchronization unit 600, allowing for the reproduction of a highly accurate clock. Why a DCO is used, why PI control is necessary, and the PI control method for the DCO are all the same as for a normal digital PLL.
また、PTP時刻同期部800は、PTPにより時刻同期を行うための一般的な構成である。例えば、PTP時刻同期部800の構成は、図4の通りである。 Furthermore, the PTP time synchronization unit 800 has a general configuration for performing time synchronization using PTP. For example, the configuration of the PTP time synchronization unit 800 is as shown in Figure 4.
PTP時刻同期部800の基本的な動作について説明する。まず、基準発振源であるOCXO810のクロックCLKを元にして、スレーブ時計820を構築する。t2パケット打刻部830は、t1パケット受信部710がt1パケットを受信した時刻をスレーブ時計820によって打刻し、その時刻をt2時刻とする。t1パケット受信後、t3パケット打刻部832は、t3パケット送信時の時刻をスレーブ時計820によって打刻し、その時刻をt3時刻する。t3パケット打刻部832は、t3パケット内にその時刻を挿入し、t3パケット送信部712から時刻マスタ機器200へ送信する。 The basic operation of the PTP time synchronization unit 800 will be explained. First, a slave clock 820 is constructed based on the clock CLK of the OCXO 810, which is the reference oscillation source. The t2 packet stamping unit 830 stamps the time when the t1 packet receiving unit 710 receives the t1 packet using the slave clock 820, and sets this time as t2 time. After receiving the t1 packet, the t3 packet stamping unit 832 stamps the time when the t3 packet is transmitted using the slave clock 820, and sets this time as t3 time. The t3 packet stamping unit 832 inserts this time into the t3 packet, and transmits it from the t3 packet transmitting unit 712 to the time master device 200.
t2-t1算出部831は、Follow-up Message受信部711で受信したFollow-up Messageからt1時刻を取得し、打刻したt2時刻と取得したt1時刻との差(t2-t1;MTSD)を算出する。このとき、t2-t1算出部831は、パケットフィルタ処理部700が更新したt1パケットのCorrection Fieldを用いて、時刻差を算出する。 The t2-t1 calculation unit 831 obtains the t1 time from the Follow-up Message received by the Follow-up Message receiving unit 711, and calculates the difference between the stamped t2 time and the obtained t1 time (t2-t1; MTSD). At this time, the t2-t1 calculation unit 831 calculates the time difference using the Correction Field of the t1 packet updated by the packet filter processing unit 700.
t4-t3算出部833は、t4パケット受信部713で受信したt4パケットからt4時刻を取得し、取得したt4時刻と打刻したt3時刻との差(t4-t3;STMD)を算出する。このとき、t4-t3算出部833は、パケットフィルタ処理部700が更新したt4パケットのCorrection Fieldを用いて、時刻差を算出する。 The t4-t3 calculation unit 833 obtains the t4 time from the t4 packet received by the t4 packet receiving unit 713, and calculates the difference between the obtained t4 time and the stamped t3 time (t4-t3; STMD). At this time, the t4-t3 calculation unit 833 calculates the time difference using the Correction Field of the t4 packet updated by the packet filter processing unit 700.
t2-t1(MTSD)及びt4-t3(STMD)の値が同じになるようにPLL制御するため、STMDの2の補数(-STMD)を補数化部834で算出し、MTSDと-STMDとを加算器835で加算する。加算した結果をPI制御器836で比例・積分処理し、PI制御器836で生成された位相(時刻)データを元に、スレーブ時計820内のディジタル発振器(DCO)をPLL制御する。この一連の処理は、PTPでは時刻サーボ処理として知られている。 In order to use PLL control to ensure that the values of t2 - t1 (MTSD) and t4 - t3 (STMD) are the same, the two's complement of STMD (-STMD) is calculated by complementation unit 834, and MTSD and -STMD are added by adder 835. The result of this addition is subjected to proportional and integral processing by PI controller 836, and the digital oscillator (DCO) in slave clock 820 is PLL controlled based on the phase (time) data generated by PI controller 836. This series of processes is known as time servo processing in PTP.
図14は、いくつかの実施の形態に係るMTSDサーボ120の構成例を示している。図14の例では、MTSDサーボ120は、STMD保持部121、MTSD計測部122、遅延差比較部123、MTSD用スレーブ時計124を備える。 FIG. 14 shows an example configuration of an MTSD servo 120 according to some embodiments. In the example of FIG. 14, the MTSD servo 120 includes an STMD holding unit 121, an MTSD measurement unit 122, a delay difference comparison unit 123, and an MTSD slave clock 124.
MTSDサーボ120は、MTSD側の本来の遅延とSTMD側のPDV値で時刻サーボを構成する。MTSDサーボ120では、時刻サーボの一方をSTMD側のPDV固定値(STMD保持部121)とし、他方をMTSD側の本来の遅延(MTSD計測部122)とする。STMD保持部121は、内部時計の粒度に従いカウントアップする。遅延差比較部123は、STMD側のPDV固定値とMTSD側の本来の遅延とを比較し、MTSD用スレーブ時計124を調整する。MTSD用スレーブ時計124は、MTSD計測部122の時刻t2’に加算制御する。MTSDサーボ120のサーボ値は、STMD側のPDV値とMTSD側の本来の遅延の差である。 The MTSD servo 120 constructs a time servo using the original delay on the MTSD side and the PDV value on the STMD side. In the MTSD servo 120, one of the time servos is the fixed PDV value on the STMD side (STMD holding unit 121), and the other is the original delay on the MTSD side (MTSD measurement unit 122). The STMD holding unit 121 counts up according to the granularity of the internal clock. The delay difference comparison unit 123 compares the fixed PDV value on the STMD side with the original delay on the MTSD side, and adjusts the MTSD slave clock 124. The MTSD slave clock 124 controls addition to the time t2' of the MTSD measurement unit 122. The servo value of the MTSD servo 120 is the difference between the PDV value on the STMD side and the original delay on the MTSD side.
図15は、いくつかの実施の形態に係るSTMDサーボ130の構成例を示している。図15の例では、STMDサーボ130は、MTSD保持部131、STMD計測部132、遅延差比較部133、STMD用スレーブ時計134を備える。 FIG. 15 shows an example configuration of an STMD servo 130 according to some embodiments. In the example of FIG. 15, the STMD servo 130 includes an MTSD holding unit 131, an STMD measuring unit 132, a delay difference comparing unit 133, and an STMD slave clock 134.
STMDサーボ130は、STMD側の本来の遅延とMTSD側のPDV値で時刻サーボを構成する。STMDサーボ130では、時刻サーボの一方をMTSD側のPDV固定値(MTSD保持部131)とし、他方をSTMD側の本来の遅延(STMD計測部132)とする。MTSD保持部131は、内部時計の粒度に従いカウントアップする。遅延差比較部133は、MTSD側のPDV固定値とSTMD側の本来の遅延とを比較し、STMD用スレーブ時計134を調整する。STMD用スレーブ時計134は、STMD計測部132の時刻t3’に加算制御する。STMDサーボ130のサーボ値は、MTSD側のPDV値とSTMD側の本来の遅延の差である。 The STMD servo 130 constructs a time servo using the original delay on the STMD side and the PDV value on the MTSD side. In the STMD servo 130, one of the time servos is the MTSD side fixed PDV value (MTSD holding unit 131), and the other is the original delay on the STMD side (STMD measurement unit 132). The MTSD holding unit 131 counts up according to the granularity of the internal clock. The delay difference comparison unit 133 compares the MTSD side fixed PDV value with the original delay on the STMD side, and adjusts the STMD slave clock 134. The STMD slave clock 134 controls addition to the time t3' of the STMD measurement unit 132. The servo value of the STMD servo 130 is the difference between the MTSD side PDV value and the original delay on the STMD side.
以上のように、本実施の形態では、時刻同期の前に周波数同期を取り、その再生された周波数から、内部時計を生成し、その内部時計で、パケット到着時間(t2)とパケット送信時刻(t3’)を打刻し、暫定のMTSD’とSTMD’を保持しておき、その暫定値を基準に、毎回送信されるパケットのt2’及びt3’から算出されるMTSD’との差分及びSTMD’との差分をCorrection Fieldエリアに格納することで、ある暫定時刻で同期する仕込みを持つ。本実施の形態では、暫定のMTSD’及びSTMD’から、マスタ時計と内部時計との時刻差がわかれば、本来の遅延が算出できるという考え方を利用する。すなわち、暫定のMTSD’とSTMD’から、マスタ時計と内部時計との差分を算出することで、暫定のMTSD’とSTMD’から、本来の遅延が算出できることから、時刻差も算出できるため、この時刻差をCorrection Fieldエリアに格納する。 As described above, in this embodiment, frequency synchronization is performed before time synchronization, and an internal clock is generated from the reproduced frequency. This internal clock stamps the packet arrival time (t2) and packet transmission time (t3'). Provisional MTSD' and STMD' are held, and the difference between this provisional value and the MTSD' calculated from t2' and t3' of each packet sent is stored in the Correction Field area, thereby providing a mechanism for synchronization at a certain provisional time. This embodiment utilizes the idea that if the time difference between the master clock and the internal clock is known from the provisional MTSD' and STMD', the actual delay can be calculated from the provisional MTSD' and STMD'. In other words, by calculating the difference between the master clock and the internal clock from the provisional MTSD' and STMD', the actual delay can be calculated from the provisional MTSD' and STMD', and therefore the time difference can also be calculated, and this time difference is stored in the Correction Field area.
さらに、マスタ時計と内部時計との時刻差を算出するためには、MTSD側及びSTMD側それぞれで1way時刻サーボによる内部時計の1/2を基準とした時刻が算出できるという考え方を利用する。マスタ時刻を基準にした遅延と内部時計を基準にした時刻をサーボ処理するということは、算出された時刻が、内部時計に対し、1/2に相当することを意味する。本実施の形態では、非対称補正時刻同期方式において、PDVフィルタで生成されるPDV値を元に、PDVmtsd側の時刻サーボからマスタ時計と内部時計との時刻差の1/2を生成し、また、PDVstmd側の時刻サーボからマスタ時計と内部時計との時刻差の1/2を生成することで、マスタ時計と内部時計との時刻差を算出するできることから、本来の遅延成分を算出でき、時刻差をCorrection Fieldエリアで補正することで、マスタ時計とスレーブ時計との時刻差をゼロにすることができる。 Furthermore, to calculate the time difference between the master clock and the internal clock, the idea is used that the MTSD and STMD sides can each calculate the time based on half the internal clock using one-way time servos. Servo processing the delay based on the master time and the time based on the internal clock means that the calculated time is equivalent to half the internal clock. In this embodiment, in the asymmetric correction time synchronization method, half of the time difference between the master clock and the internal clock is generated from the time servo on the PDVmtsd side based on the PDV value generated by the PDV filter, and half of the time difference between the master clock and the internal clock is also generated from the time servo on the PDVstmd side. This makes it possible to calculate the time difference between the master clock and the internal clock, allowing the original delay component to be calculated, and by correcting the time difference in the Correction Field area, the time difference between the master clock and slave clock can be reduced to zero.
これにより、本実施の形態では、時刻同期システムにおいて、GNSSや計測器など時刻補正のための設備を使うことなく、非対称補正を行うことができる。また、パケットフレームの物理層を限定しないため、有線や無線の伝送路に依存せずに、非対称補正を行うことができる。 As a result, in this embodiment, asymmetric correction can be performed in a time synchronization system without using equipment for time correction, such as GNSS or measuring instruments. Furthermore, because the physical layer of the packet frame is not limited, asymmetric correction can be performed without relying on wired or wireless transmission paths.
なお、本開示は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 Note that this disclosure is not limited to the above-described embodiments, and modifications can be made as appropriate without departing from the spirit of the disclosure.
上述の実施形態における各構成は、ハードウェア又はソフトウェア、もしくはその両方によって構成され、1つのハードウェア又はソフトウェアから構成してもよいし、複数のハードウェア又はソフトウェアから構成してもよい。時刻同期装置(時刻マスタ機器、時刻スレーブ機器)などの各装置及び各機能(処理)を、図16に示すような、CPU等のプロセッサ21及び記憶装置であるメモリ22を有するコンピュータ20により実現してもよい。例えば、メモリ22に実施形態における方法(時刻同期方法)を行うためのプログラムを格納し、各機能を、メモリ22に格納されたプログラムをプロセッサ21で実行することにより実現してもよい。 Each component in the above-described embodiments may be configured with hardware or software, or both, and may be configured with a single piece of hardware or software, or multiple pieces of hardware or software. Each device, such as the time synchronization device (time master device, time slave device), and each function (processing) may be implemented by a computer 20 having a processor 21 such as a CPU and memory 22, which is a storage device, as shown in FIG. 16. For example, a program for performing the method in the embodiment (time synchronization method) may be stored in memory 22, and each function may be implemented by having processor 21 execute the program stored in memory 22.
これらのプログラムは、コンピュータに読み込まれた場合に、実施形態で説明された1又はそれ以上の機能をコンピュータに行わせるための命令群(又はソフトウェアコード)を含む。プログラムは、非一時的なコンピュータ可読媒体又は実体のある記憶媒体に格納されてもよい。限定ではなく例として、コンピュータ可読媒体又は実体のある記憶媒体は、random-access memory(RAM)、read-only memory(ROM)、フラッシュメモリ、solid-state drive(SSD)又はその他のメモリ技術、CD-ROM、digital versatile disc(DVD)、Blu-ray(登録商標)ディスク又はその他の光ディスクストレージ、磁気カセット、磁気テープ、磁気ディスクストレージ又はその他の磁気ストレージデバイスを含む。プログラムは、一時的なコンピュータ可読媒体又は通信媒体上で送信されてもよい。限定ではなく例として、一時的なコンピュータ可読媒体又は通信媒体は、電気的、光学的、音響的、またはその他の形式の伝搬信号を含む。 These programs include instructions (or software code) that, when loaded into a computer, cause the computer to perform one or more functions described in the embodiments. The programs may be stored on a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray (registered trademark) disc or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The programs may also be transmitted on a transitory computer-readable medium or communication medium. By way of example and not limitation, transitory computer-readable medium or communication medium includes electrical, optical, acoustic, or other forms of propagated signals.
以上、実施の形態を参照して本開示を説明したが、本開示は上述の実施の形態に限定されるものではない。本開示の構成や詳細には、本開示のスコープ内で当業者が理解し得る様々な変更をすることができる。そして、各実施の形態は、適宜他の実施の形態と組み合わせることができる。 The present disclosure has been described above with reference to the embodiments, but the present disclosure is not limited to the above-described embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present disclosure within the scope of the present disclosure. Furthermore, each embodiment can be combined with other embodiments as appropriate.
各図面は、1又はそれ以上の実施形態を説明するための単なる例示である。各図面は、1つの特定の実施形態のみに関連付けられるのではなく、1又はそれ以上の他の実施形態に関連付けられてもよい。当業者であれば理解できるように、いずれか1つの図面を参照して説明される様々な特徴又はステップは、例えば明示的に図示または説明されていない実施形態を作り出すために、1又はそれ以上の他の図に示された特徴又はステップと組み合わせることができる。例示的な実施形態を説明するためにいずれか1つの図に示された特徴またはステップのすべてが必ずしも必須ではなく、一部の特徴またはステップが省略されてもよい。いずれかの図に記載されたステップの順序は、適宜変更されてもよい。 Each drawing is merely an example for describing one or more embodiments. Each drawing does not relate to only one particular embodiment, but may also relate to one or more other embodiments. As will be understood by those skilled in the art, various features or steps described with reference to any one drawing can be combined with features or steps shown in one or more other drawings to create, for example, an embodiment not explicitly shown or described. Not all features or steps shown in any one drawing are necessarily required to describe an exemplary embodiment, and some features or steps may be omitted. The order of steps described in any drawing may be changed as appropriate.
上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。
(付記1)
内部時計及びスレーブ時計と、
前記内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる周波数同期手段と、
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させる下り時刻差収束手段と、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させる上り時刻差収束手段と、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる時刻同期手段と、
を備える時刻同期装置。
(付記2)
前記下り時刻差収束手段は、暫定的な前記上り時刻差と、繰り返し計測する前記下り時刻差とに基づいて、前記下り時刻差を収束させ、
前記上り時刻差収束手段は、暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
付記1に記載の時刻同期装置。
(付記3)
前記下り時刻差収束手段は、
下り時刻差収束用の時計と、
前記下り時刻差を計測する計測手段と、
前記暫定的な上り時刻差と前記計測した下り時刻差との比較結果に応じて、前記下り時刻差収束用の時計を制御する比較手段と、
を備える、付記2に記載の時刻同期装置。
(付記4)
前記上り時刻差収束手段は、
上り時刻差収束用の時計と、
前記上り時刻差を計測する計測手段と、
前記暫定的な下り時刻差と前記計測した上り時刻差との比較結果に応じて、前記上り時刻差収束用の時計を制御する比較手段と、
を備える、付記2に記載の時刻同期装置。
(付記5)
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、時刻補正値を算出する算出手段を備え、
前記時刻同期手段は、前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
付記1乃至4のいずれか一項に記載の時刻同期装置。
(付記6)
前記算出手段は、前記下り時刻差の収束結果の1/2と前記上り時刻差の収束結果の1/2を加算して、前記マスタ時計と前記内部時計との時刻差を算出し、前記時刻差に基づいて、前記時刻補正値を算出する、
付記5に記載の時刻同期装置。
(付記7)
前記算出手段は、前記マスタ時計と前記内部時計との時刻差と、前記下り時刻差とに基づいて、下り遅延時間を算出し、前記マスタ時計と前記内部時計との時刻差と、前記上り時刻差とに基づいて、上り遅延時間を算出し、前記下り遅延時間と前記上り遅延時間に基づいて、前記時刻補正値を算出する、
付記6に記載の時刻同期装置。
(付記8)
前記時刻同期手段は、前記時刻マスタ機器からのパケット送信時刻と前記スレーブ時計によって打刻したパケット受信時刻との時刻差と、前記スレーブ時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差とのいずれかを、前記時刻補正値により補正し、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
付記5乃至7のいずれか一項に記載の時刻同期装置。
(付記9)
内部時計及びスレーブ時計と、
前記内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる周波数同期手段と、
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させる下り時刻差収束手段と、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させる上り時刻差収束手段と、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる時刻同期手段と、
を備える時刻同期システム。
(付記10)
時刻同期装置と収束装置とを備え、
前記時刻同期装置は、前記内部時計、前記スレーブ時計、前記時刻同期手段を備え、
前記収束装置は、前記下り時刻差収束手段、前記上り時刻差収束手段を備える、
付記9に記載の時刻同期システム。
(付記11)
前記下り時刻差収束手段は、暫定的な前記上り時刻差と、繰り返し計測する前記下り時刻差とに基づいて、前記下り時刻差を収束させ、
前記上り時刻差収束手段は、暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
付記9または10に記載の時刻同期システム。
(付記12)
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、時刻補正値を算出する算出手段を備え、
前記時刻同期手段は、前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
付記9乃至11のいずれか一項に記載の時刻同期システム。
(付記13)
前記算出手段は、前記下り時刻差の収束結果の1/2と前記上り時刻差の収束結果の1/2を加算して、前記マスタ時計と前記内部時計との時刻差を算出し、前記時刻差に基づいて、前記時刻補正値を算出する、
付記12に記載の時刻同期システム。
(付記14)
前記算出手段は、前記マスタ時計と前記内部時計との時刻差と、前記下り時刻差とに基づいて、下り遅延時間を算出し、前記マスタ時計と前記内部時計との時刻差と、前記上り時刻差とに基づいて、上り遅延時間を算出し、前記下り遅延時間と前記上り遅延時間に基づいて、前記時刻補正値を算出する、
付記13に記載の時刻同期システム。
(付記15)
内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させ、
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させ、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させ、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
時刻同期方法。
(付記16)
暫定的な前記上り時刻差と、繰り返し計測する前記下り時刻差とに基づいて、前記下り時刻差を収束させ、
暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
付記15に記載の時刻同期方法。
(付記17)
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、時刻補正値を算出し、
前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
付記15または16に記載の時刻同期方法。
(付記18)
内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させ、
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させ、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させ、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
処理をコンピュータに実行させるためのプログラム。
(付記19)
暫定的な前記上り時刻差と、繰り返し計測する前記下り時刻差とに基づいて、前記下り時刻差を収束させ、
暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
付記18に記載のプログラム。
(付記20)
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、時刻補正値を算出し、
前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
付記18または19に記載のプログラム。
A part or all of the above-described embodiments can be described as, but not limited to, the following supplementary notes.
(Appendix 1)
an internal clock and a slave clock;
a frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of a master clock of a time master device;
a downstream time difference convergence means for converging a downstream time difference, which is a time difference between a packet transmission time from the time master device and a packet reception time stamped by the internal clock;
an upstream time difference convergence means for converging an upstream time difference, which is a time difference between a packet transmission time stamped by the internal clock and a packet reception time at the time master device;
time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
A time synchronization device comprising:
(Appendix 2)
the downlink time difference convergence means converges the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
the upstream time difference convergence means converges the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
2. The time synchronization device according to claim 1.
(Appendix 3)
The downlink time difference convergence means
A clock for convergence of downlink time difference,
a measuring means for measuring the downstream time difference;
a comparison means for controlling the clock for convergence of the downstream time difference in accordance with a comparison result between the provisional upstream time difference and the measured downstream time difference;
3. The time synchronization device according to claim 2, comprising:
(Appendix 4)
The upstream time difference convergence means
A clock for convergence of uplink time difference,
a measuring means for measuring the uplink time difference;
a comparison means for controlling the clock for convergence of the upstream time difference in accordance with a comparison result between the provisional downstream time difference and the measured upstream time difference;
3. The time synchronization device according to claim 2, comprising:
(Appendix 5)
a calculation means for calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
the time synchronization means synchronizes the time of the slave clock with the time of the master clock based on the time correction value;
5. The time synchronization device according to claim 1.
(Appendix 6)
the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference.
6. The time synchronization device according to claim 5.
(Appendix 7)
the calculation means calculates a downstream delay time based on the time difference between the master clock and the internal clock and the downstream time difference, calculates an upstream delay time based on the time difference between the master clock and the internal clock and the upstream time difference, and calculates the time correction value based on the downstream delay time and the upstream delay time.
7. The time synchronization device according to claim 6.
(Appendix 8)
the time synchronization means corrects, by the time correction value, either the time difference between the packet transmission time from the time master device and the packet reception time stamped by the slave clock, or the time difference between the packet transmission time stamped by the slave clock and the packet reception time at the time master device, thereby synchronizing the time of the slave clock with the time of the master clock.
8. The time synchronization device according to claim 5,
(Appendix 9)
an internal clock and a slave clock;
a frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of a master clock of a time master device;
a downstream time difference convergence means for converging a downstream time difference, which is a time difference between a packet transmission time from the time master device and a packet reception time stamped by the internal clock;
an upstream time difference convergence means for converging an upstream time difference, which is a time difference between a packet transmission time stamped by the internal clock and a packet reception time at the time master device;
time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
A time synchronization system comprising:
(Appendix 10)
A time synchronization device and a convergence device are provided,
the time synchronization device comprises the internal clock, the slave clock, and the time synchronization means;
The convergence device includes the downstream time difference convergence means and the upstream time difference convergence means.
10. The time synchronization system of claim 9.
(Appendix 11)
the downlink time difference convergence means converges the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
the upstream time difference convergence means converges the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
11. The time synchronization system according to claim 9 or 10.
(Appendix 12)
a calculation means for calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
the time synchronization means synchronizes the time of the slave clock with the time of the master clock based on the time correction value;
12. The time synchronization system according to any one of claims 9 to 11.
(Appendix 13)
the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference.
13. The time synchronization system of claim 12.
(Appendix 14)
the calculation means calculates a downstream delay time based on the time difference between the master clock and the internal clock and the downstream time difference, calculates an upstream delay time based on the time difference between the master clock and the internal clock and the upstream time difference, and calculates the time correction value based on the downstream delay time and the upstream delay time.
14. The time synchronization system of claim 13.
(Appendix 15)
The frequency of the internal clock is synchronized with the frequency of the master clock of the time master device,
Converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock,
Converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device,
synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
Time synchronization method.
(Appendix 16)
Converging the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
converging the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
16. The time synchronization method according to claim 15.
(Appendix 17)
calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
synchronizing the time of the slave clock with the time of the master clock based on the time correction value;
17. The time synchronization method according to claim 15 or 16.
(Appendix 18)
The frequency of the internal clock is synchronized with the frequency of the master clock of the time master device,
Converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock,
Converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device,
synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
A program that causes a computer to execute a process.
(Appendix 19)
Converging the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
converging the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
19. The program of claim 18.
(Appendix 20)
calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
synchronizing the time of the slave clock with the time of the master clock based on the time correction value;
20. The program according to claim 18 or 19.
付記1(時刻同期装置)に従属する付記2~付記8に記載した要素(例えば構成及び機能)の一部または全ては、付記9(時刻同期システム)、付記15(時刻同期方法)、付記18(プログラム)に対しても付記2~付記8と同様の従属関係により従属し得る。任意の付記に記載された要素の一部または全ては、様々なハードウェア、ソフトウェア、ソフトウェアを記録するための記録手段、システム、及び方法に適用され得る。 Some or all of the elements (e.g., configurations and functions) described in Supplementary Notes 2 to 8 that are dependent on Supplementary Note 1 (Time Synchronization Device) may also be dependent on Supplementary Note 9 (Time Synchronization System), Supplementary Note 15 (Time Synchronization Method), and Supplementary Note 18 (Program) in the same dependency relationship as Supplementary Note 2 to Supplementary Note 8. Some or all of the elements described in any Supplementary Note may be applied to various hardware, software, recording means for recording software, systems, and methods.
1 時刻同期システム
10 時刻同期装置
11 内部時計
12 スレーブ時計
13 周波数同期部
14 下り時刻差収束部
15 上り時刻差収束部
16 時刻同期部
20 コンピュータ
21 プロセッサ
22 メモリ
100 時刻スレーブ機器
110 PDVフィルタ
120 MTSDサーボ
121 STMD保持部
122 MTSD計測部
123 遅延差比較部
124 MTSD用スレーブ時計
130 STMDサーボ
131 MTSD保持部
132 STMD計測部
133 遅延差比較部
134 STMD用スレーブ時計
140 補正値計算部
200 時刻マスタ機器
500 時刻同期装置
600 PTP周波数同期部
610 t2’パケット打刻部
620 位相比較器
630 IIRフィルタ
640 PI制御器
650 内部時計
700 パケットフィルタ処理部
710 t1パケット受信部
711 Follow-up Message受信部
712 t3パケット送信部
713 t4パケット受信部
730 t2’パケット打刻部
731 t2’-t1算出部
732 t2’-t1最短時間探索保持部
733 t2’-t1補正部
734 t1補正値更新部
740 t3’パケット打刻部
741 t4-t3’算出部
742 t4-t3’最短時間探索保持部
743 t4-t3’補正部
744 t4補正値更新部
800 PTP時刻同期部
810 OCXO
820 スレーブ時計
830 t2パケット打刻部
831 t2-t1算出部
832 t3パケット打刻部
833 t4-t3算出部
834 補数化部
835 加算器
836 PI制御器
1 Time synchronization system 10 Time synchronization device 11 Internal clock 12 Slave clock 13 Frequency synchronization unit 14 Downstream time difference convergence unit 15 Upstream time difference convergence unit 16 Time synchronization unit 20 Computer 21 Processor 22 Memory 100 Time slave device 110 PDV filter 120 MTSD servo 121 STMD holding unit 122 MTSD measurement unit 123 Delay difference comparison unit 124 MTSD slave clock 130 STMD servo 131 MTSD holding unit 132 STMD measurement unit 133 Delay difference comparison unit 134 STMD slave clock 140 Correction value calculation unit 200 Time master device 500 Time synchronization device 600 PTP frequency synchronization unit 610 t2' packet time stamping unit 620 Phase comparator 630 IIR filter 640 PI controller 650 Internal clock 700 Packet filter processing unit 710 t1 packet receiving unit 711 Follow-up message receiving unit 712 t3 packet transmitting unit 713 t4 packet receiving unit 730 t2' packet embossing unit 731 t2'-t1 calculation unit 732 t2'-t1 shortest time search and holding unit 733 t2'-t1 correction unit 734 t1 correction value updating unit 740 t3' packet embossing unit 741 t4-t3' calculation unit 742 t4-t3' shortest time search and holding unit 743 t4-t3' correction unit 744 t4 correction value updating unit 800 PTP time synchronization unit 810 OCXO
820 Slave clock 830 t2 packet stamping unit 831 t2-t1 calculation unit 832 t3 packet stamping unit 833 t4-t3 calculation unit 834 Complementing unit 835 Adder 836 PI controller
Claims (20)
前記内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる周波数同期手段と、
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させる下り時刻差収束手段と、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させる上り時刻差収束手段と、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる時刻同期手段と、
を備える時刻同期装置。 an internal clock and a slave clock;
a frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of a master clock of a time master device;
a downstream time difference convergence means for converging a downstream time difference, which is a time difference between a packet transmission time from the time master device and a packet reception time stamped by the internal clock;
an upstream time difference convergence means for converging an upstream time difference, which is a time difference between a packet transmission time stamped by the internal clock and a packet reception time at the time master device;
time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference;
A time synchronization device comprising:
前記上り時刻差収束手段は、暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
請求項1に記載の時刻同期装置。 the downlink time difference convergence means converges the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
the upstream time difference convergence means converges the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
The time synchronization device according to claim 1 .
下り時刻差収束用の時計と、
前記下り時刻差を計測する計測手段と、
前記暫定的な上り時刻差と前記計測した下り時刻差との比較結果に応じて、前記下り時刻差収束用の時計を制御する比較手段と、
を備える、請求項2に記載の時刻同期装置。 The downlink time difference convergence means
A clock for convergence of downlink time difference,
a measuring means for measuring the downstream time difference;
a comparison means for controlling the clock for convergence of the downstream time difference in accordance with a comparison result between the provisional upstream time difference and the measured downstream time difference;
The time synchronization device according to claim 2 , comprising:
上り時刻差収束用の時計と、
前記上り時刻差を計測する計測手段と、
前記暫定的な下り時刻差と前記計測した上り時刻差との比較結果に応じて、前記上り時刻差収束用の時計を制御する比較手段と、
を備える、請求項2に記載の時刻同期装置。 The upstream time difference convergence means
A clock for convergence of uplink time difference,
a measuring means for measuring the uplink time difference;
a comparison means for controlling the clock for convergence of the upstream time difference in accordance with a comparison result between the provisional downstream time difference and the measured upstream time difference;
The time synchronization device according to claim 2 , comprising:
前記時刻同期手段は、前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
請求項1乃至4のいずれか一項に記載の時刻同期装置。 a calculation means for calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
the time synchronization means synchronizes the time of the slave clock with the time of the master clock based on the time correction value;
The time synchronization device according to any one of claims 1 to 4.
請求項5に記載の時刻同期装置。 the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference.
The time synchronization device according to claim 5 .
請求項6に記載の時刻同期装置。 the calculation means calculates a downstream delay time based on the time difference between the master clock and the internal clock and the downstream time difference, calculates an upstream delay time based on the time difference between the master clock and the internal clock and the upstream time difference, and calculates the time correction value based on the downstream delay time and the upstream delay time.
The time synchronization device according to claim 6.
請求項5乃至7のいずれか一項に記載の時刻同期装置。 the time synchronization means corrects, by the time correction value, either the time difference between the packet transmission time from the time master device and the packet reception time stamped by the slave clock, or the time difference between the packet transmission time stamped by the slave clock and the packet reception time at the time master device, thereby synchronizing the time of the slave clock with the time of the master clock.
The time synchronization device according to any one of claims 5 to 7.
前記内部時計の周波数を時刻マスタ機器のマスタ時計の周波数に同期させる周波数同期手段と、
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させる下り時刻差収束手段と、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させる上り時刻差収束手段と、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる時刻同期手段と、
を備える時刻同期システム。 an internal clock and a slave clock;
a frequency synchronization means for synchronizing the frequency of the internal clock with the frequency of a master clock of a time master device;
a downstream time difference convergence means for converging a downstream time difference, which is a time difference between a packet transmission time from the time master device and a packet reception time stamped by the internal clock;
an upstream time difference convergence means for converging an upstream time difference, which is a time difference between a packet transmission time stamped by the internal clock and a packet reception time at the time master device;
time synchronization means for synchronizing the time of the slave clock with the time of the master clock based on the convergence results of the downstream time difference and the upstream time difference;
A time synchronization system comprising:
前記時刻同期装置は、前記内部時計、前記スレーブ時計、前記時刻同期手段を備え、
前記収束装置は、前記下り時刻差収束手段、前記上り時刻差収束手段を備える、
請求項9に記載の時刻同期システム。 A time synchronization device and a convergence device are provided,
the time synchronization device comprises the internal clock, the slave clock, and the time synchronization means;
The convergence device includes the downstream time difference convergence means and the upstream time difference convergence means.
The time synchronization system according to claim 9 .
前記上り時刻差収束手段は、暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
請求項9または10に記載の時刻同期システム。 the downlink time difference convergence means converges the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
the upstream time difference convergence means converges the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
The time synchronization system according to claim 9 or 10.
前記時刻同期手段は、前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
請求項9乃至11のいずれか一項に記載の時刻同期システム。 a calculation means for calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
the time synchronization means synchronizes the time of the slave clock with the time of the master clock based on the time correction value;
The time synchronization system according to any one of claims 9 to 11.
請求項12に記載の時刻同期システム。 the calculation means calculates the time difference between the master clock and the internal clock by adding half of the convergence result of the downlink time difference and half of the convergence result of the uplink time difference, and calculates the time correction value based on the time difference.
The time synchronization system according to claim 12.
請求項13に記載の時刻同期システム。 the calculation means calculates a downstream delay time based on the time difference between the master clock and the internal clock and the downstream time difference, calculates an upstream delay time based on the time difference between the master clock and the internal clock and the upstream time difference, and calculates the time correction value based on the downstream delay time and the upstream delay time.
The time synchronization system according to claim 13.
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させ、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させ、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
時刻同期方法。 The frequency of the internal clock is synchronized with the frequency of the master clock of the time master device,
Converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock,
Converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device,
synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
Time synchronization method.
暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
請求項15に記載の時刻同期方法。 Converging the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
converging the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
The time synchronization method according to claim 15.
前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
請求項15または16に記載の時刻同期方法。 calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
synchronizing the time of the slave clock with the time of the master clock based on the time correction value;
17. The time synchronization method according to claim 15 or 16.
前記時刻マスタ機器からのパケット送信時刻と前記内部時計によって打刻したパケット受信時刻との時刻差である下り時刻差を収束させ、
前記内部時計によって打刻したパケット送信時刻と前記時刻マスタ機器でのパケット受信時刻との時刻差である上り時刻差を収束させ、
前記下り時刻差の収束結果と前記上り時刻差の収束結果に基づいて、スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
処理をコンピュータに実行させるためのプログラム。 The frequency of the internal clock is synchronized with the frequency of the master clock of the time master device,
Converging a downstream time difference, which is the time difference between the packet transmission time from the time master device and the packet reception time stamped by the internal clock,
Converging an upstream time difference, which is the time difference between the packet transmission time stamped by the internal clock and the packet reception time at the time master device,
synchronizing the time of the slave clock with the time of the master clock based on the convergence result of the downstream time difference and the convergence result of the upstream time difference;
A program that causes a computer to execute a process.
暫定的な前記下り時刻差と、繰り返し計測する前記上り時刻差とに基づいて、前記上り時刻差を収束させる、
請求項18に記載のプログラム。 Converging the downlink time difference based on the provisional uplink time difference and the repeatedly measured downlink time difference;
converging the upstream time difference based on the provisional downstream time difference and the repeatedly measured upstream time difference;
19. The program of claim 18.
前記時刻補正値に基づいて、前記スレーブ時計の時刻を前記マスタ時計の時刻に同期させる、
請求項18または19に記載のプログラム。 calculating a time correction value based on the convergence result of the downlink time difference and the convergence result of the uplink time difference;
synchronizing the time of the slave clock with the time of the master clock based on the time correction value;
20. The program according to claim 18 or 19.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2024/016544 WO2025225009A1 (en) | 2024-04-26 | 2024-04-26 | Time synchronization device, time synchronization system, time synchronization method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2024/016544 WO2025225009A1 (en) | 2024-04-26 | 2024-04-26 | Time synchronization device, time synchronization system, time synchronization method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025225009A1 true WO2025225009A1 (en) | 2025-10-30 |
Family
ID=97489569
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2024/016544 Pending WO2025225009A1 (en) | 2024-04-26 | 2024-04-26 | Time synchronization device, time synchronization system, time synchronization method, and program |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025225009A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016025474A (en) * | 2014-07-18 | 2016-02-08 | セイコーソリューションズ株式会社 | Delay measuring method, delay measuring apparatus, and program |
| JP2016225880A (en) * | 2015-06-01 | 2016-12-28 | 日本電気通信システム株式会社 | Time synchronization device, time synchronization method, and time synchronization program |
| JP2022176683A (en) * | 2021-05-17 | 2022-11-30 | セイコーソリューションズ株式会社 | Clock processing device and program |
-
2024
- 2024-04-26 WO PCT/JP2024/016544 patent/WO2025225009A1/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016025474A (en) * | 2014-07-18 | 2016-02-08 | セイコーソリューションズ株式会社 | Delay measuring method, delay measuring apparatus, and program |
| JP2016225880A (en) * | 2015-06-01 | 2016-12-28 | 日本電気通信システム株式会社 | Time synchronization device, time synchronization method, and time synchronization program |
| JP2022176683A (en) * | 2021-05-17 | 2022-11-30 | セイコーソリューションズ株式会社 | Clock processing device and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6820851B2 (en) | How to synchronize the clocks of network devices | |
| US9112631B2 (en) | Method and devices for frequency distribution | |
| US8428045B2 (en) | Media clock recovery | |
| US9634782B2 (en) | Clock synchronization system, clock synchronization method, and storage medium whereupon clock synchronization program is stored | |
| US10979164B2 (en) | Peer-to-peer transparent clocks and methods of estimating skew in peer-to-peer transparent clocks | |
| EP3053287B1 (en) | Method and devices for time and frequency synchronization using a phase locked loop | |
| US20180097610A1 (en) | Synchronization apparatus, synchronization system, radio communication apparatus and synchronization method | |
| US8949648B2 (en) | System and method to overcome wander accumulation to achieve precision clock distribution over large networks | |
| US20110013737A1 (en) | Time synchronization apparatus based on parallel processing | |
| US11099599B2 (en) | Communication device, cascaded network and internal synchronization method | |
| CN108023723B (en) | Method of frequency synchronization and slave clock | |
| WO2013051447A1 (en) | Time control device, time control method, and program | |
| JP6198075B2 (en) | Time synchronization apparatus, time synchronization method, and time synchronization program | |
| WO2025225009A1 (en) | Time synchronization device, time synchronization system, time synchronization method, and program | |
| KR101176798B1 (en) | Method for clock synchronization between slave and master | |
| WO2015087024A1 (en) | Method and devices for synchronization using linear programming | |
| WO2025225013A1 (en) | Time synchronization device, time synchronization system, time synchronization method, and program | |
| JP7725312B2 (en) | Information and communication system and information and communication device | |
| JP7725311B2 (en) | Information and communication system and information and communication device | |
| JP2025040875A (en) | Information and communication system and information and communication device | |
| JP2024103280A (en) | Information and communication system and information and communication device | |
| WO2025225008A1 (en) | Grandmaster device, node device, distributed time synchronization system, time synchronization method, and program | |
| JP2024011842A (en) | Information communication system and information communication device | |
| JP2023056929A (en) | Time synchronization error generator and program | |
| WO2020075235A1 (en) | Clock generation device and clock generation method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24936925 Country of ref document: EP Kind code of ref document: A1 |