TW202205105A - Distributed synchronization system - Google Patents
Distributed synchronization system Download PDFInfo
- Publication number
- TW202205105A TW202205105A TW109123928A TW109123928A TW202205105A TW 202205105 A TW202205105 A TW 202205105A TW 109123928 A TW109123928 A TW 109123928A TW 109123928 A TW109123928 A TW 109123928A TW 202205105 A TW202205105 A TW 202205105A
- Authority
- TW
- Taiwan
- Prior art keywords
- synchronization
- signal
- synchronizing
- control signal
- devices
- Prior art date
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Electric Clocks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本發明是有關於一種通訊同步機制,且特別是有關於一種分散式同步系統。The present invention relates to a communication synchronization mechanism, and in particular, to a distributed synchronization system.
請參照圖1A,其是傳統框架交換器(chassis switch)的示意圖。如圖1A所示,在傳統框架交換器110中,各個線卡(line card,LC)112係獨立連接於控制平面(control plane,CP)111上,以進行時間、相位及頻率的同步。Please refer to FIG. 1A , which is a schematic diagram of a conventional chassis switch. As shown in FIG. 1A , in the
請參照圖1B,其是分散式分解框架(distributed disaggregated chassis,DDC)系統的示意圖。有別於圖1A的傳統框架交換器110,在圖1B中的DDC系統120中,CP 121與LC 122之間係採用交織連接(fabric)的方式連接。然而,此種連接方式並不支精確時間協定(precision time protocol,PTP)時間戳記、SyncE或其他硬體時鐘信號傳輸功能,而習知技術中一般會另設置連接於DDC系統的管理交換器,以解決上述問題。Please refer to FIG. 1B , which is a schematic diagram of a distributed disaggregated chassis (DDC) system. Different from the
請參照圖2,其是設置有管理交換器的DDC系統的示意圖。如圖2所示,DDC系統200可包括管理交換器201、多個CP及LC(各LC例如可視為一個電信邊界時鐘(telecom boundary clock,T-BC)),而其個別可透過10吉位元乙太網路介面(以下略稱為10G介面)連接於管理交換器201。在圖2中,管理交換器201例如是具備IEEE 1588及同步乙太網路(Synchronous Ethernet,SyncE)能力的管理裝置,並可作為邊界時鐘(boundary clock,BC)以同步於DDC系統200中的LC。Please refer to FIG. 2 , which is a schematic diagram of a DDC system provided with a management switch. As shown in FIG. 2 , the
在此情況下,管理交換器201可經配置以基於主時鐘(grandmaster,GM)202所提供的PTP封包來讓DDC系統200中的各個LC進行同步,進而讓其他後端的裝置(例如所示的電信時間僕時鐘(Telecom Time Slave Clock,T-TSC)、eNodeB等)進行同步。In this case, the
然而,圖2所示的二層式DDC架構(即,一層為管理交換器201,另一層為DDC系統200中的多個LC)中,由於管理交換器201的運作一般將會有5~10ns的時間誤差,而DDC系統200中的各LC在進行同步時亦會有5~10ns的時間誤差,因此將相應地影響同步時的準確性。However, in the two-layer DDC architecture shown in FIG. 2 (ie, one layer is the
有鑑於此,本發明提供一種分散式同步系統,其可用於解決上述技術問題。In view of this, the present invention provides a distributed synchronization system, which can be used to solve the above technical problems.
本發明提供一種分散式同步系統,包括一管理裝置,其包括網路輸入介面及網路輸出介面,並經配置以:接收一精確時間協定封包,並解譯精確時間協定封包以取得一參考1秒脈衝(pulse per second,PPS)信號、一參考頻率信號及一參考日時間(time of day,ToD)資訊;透過管理裝置的網路輸出介面發送一參考同步信號及一參考控制信號至彼此串接的多個同步裝置中的第1個同步裝置,其中參考控制信號要求所述第1個同步裝置基於參考同步信號同步於管理裝置。The present invention provides a distributed synchronization system, including a management device, which includes a network input interface and a network output interface, and is configured to: receive a precise time protocol packet, and interpret the precise time protocol packet to obtain a reference 1 A pulse per second (PPS) signal, a reference frequency signal and a reference time of day (ToD) information; send a reference synchronization signal and a reference control signal to each other through the network output interface of the management device The first synchronization device among the connected synchronization devices, wherein the reference control signal requires the first synchronization device to synchronize with the management device based on the reference synchronization signal.
本發明提供一種分散式同步系統,包括多個同步裝置,其中前述同步裝置彼此串接且個別包括網路輸入介面及網路輸出介面,且前述同步裝置中的第1個同步裝置經配置以:透過所述第1個同步裝置的網路輸入介面從一管理裝置接收一參考同步信號及一參考控制信號,其中參考控制信號要求所述第1個同步裝置基於參考同步信號同步於管理裝置;基於參考同步信號及參考控制信號執行與管理裝置的一同步操作,並相應地產生一第一同步信號;透過所述第1個同步裝置的網路輸出介面發送第一同步信號及一第一控制信號至前述同步裝置中的第2個同步裝置,其中第一控制信號要求所述第2個同步裝置基於第一同步信號同步於所述第1個同步裝置。The present invention provides a distributed synchronization system, comprising a plurality of synchronization devices, wherein the synchronization devices are connected in series with each other and respectively include a network input interface and a network output interface, and the first synchronization device in the synchronization devices is configured to: receiving a reference synchronization signal and a reference control signal from a management device through a network input interface of the first synchronization device, wherein the reference control signal requires the first synchronization device to synchronize with the management device based on the reference synchronization signal; The reference synchronization signal and the reference control signal perform a synchronization operation with the management device, and correspondingly generate a first synchronization signal; send the first synchronization signal and a first control signal through the network output interface of the first synchronization device To a second synchronization device of the aforementioned synchronization devices, wherein a first control signal requires the second synchronization device to synchronize with the first synchronization device based on the first synchronization signal.
本發明提供一種分散式同步系統,包括彼此串接的多個同步裝置,其中各同步裝置包括網路輸入介面及網路輸出介面,且前述同步裝置中的第i個同步裝置經配置以:透過所述第i個同步裝置的網路輸入介面從前述同步裝置中的第i-1個同步裝置接收一同步信號及一控制信號,其中,N為前述同步裝置的總數;基於同步信號及控制信號執行與所述第i-1個同步裝置的一同步操作,並相應地產生另一同步信號;透過所述第i個同步裝置的網路輸出介面發送另一同步信號及另一控制信號。The present invention provides a distributed synchronization system, comprising a plurality of synchronization devices connected in series, wherein each synchronization device includes a network input interface and a network output interface, and the i-th synchronization device in the synchronization devices is configured to: The network input interface of the i-th synchronization device receives a synchronization signal and a control signal from the i-1-th synchronization device in the aforementioned synchronization devices, wherein , N is the total number of the aforementioned synchronization devices; a synchronization operation with the i-1 th synchronization device is performed based on the synchronization signal and the control signal, and another synchronization signal is generated accordingly; through the network of the i-th synchronization device The output interface sends another synchronization signal and another control signal.
請參照圖3,其是依據本發明之一實施例繪示的分散式同步系統示意圖。在圖3中,分散式同步系統300例如是一DDC系統,其可包括管理裝置MM及彼此串接的N個同步裝置D1~DN(N為正整數),其中管理裝置MM例如是一管理交換器,而同步裝置D1~DN個別可為一線卡,但可不限於此。Please refer to FIG. 3 , which is a schematic diagram of a distributed synchronization system according to an embodiment of the present invention. In FIG. 3, the
在本發明的實施例中,管理裝置MM可包括網路輸入介面IM及網路輸出介面OM,其可分別為RJ45輸入介面及RJ45輸出介面,但可不限於此。相似地,各同步裝置D1~DN亦可具有網路輸入介面及網路輸出介面。舉例而言,同步裝置D1(其可視為同步裝置D1~DN中的第1個同步裝置)可包括網路輸入介面I1及網路輸出介面O1,同步裝置D2(其可視為同步裝置D1~DN中的第2個同步裝置)可包括網路輸入介面I2及網路輸出介面O2,而同步裝置DN(其可視為同步裝置D1~DN中的第N個同步裝置)可包括網路輸入介面IN及網路輸出介面ON。In the embodiment of the present invention, the management device MM may include a network input interface IM and a network output interface OM, which may be an RJ45 input interface and an RJ45 output interface, respectively, but not limited thereto. Similarly, each of the synchronization devices D1 to DN can also have a network input interface and a network output interface. For example, the synchronizing device D1 (which can be regarded as the first synchronizing device among the synchronizing devices D1-DN) may include the network input interface I1 and the network output interface O1, and the synchronizing device D2 (which can be regarded as the synchronizing devices D1-DN) The second synchronization device in D1-DN may include the network input interface I2 and the network output interface O2, and the synchronization device DN (which can be regarded as the Nth synchronization device among the synchronization devices D1~DN) may include the network input interface IN and network output interface ON.
為便於說明,以下將同步裝置D1~DN中的第i個()同步裝置略稱為同步裝置Di,而其可包括網路輸入介面Ii及網路輸出介面Oi,但可不限於此。此外,相似於管理裝置MM,同步裝置Di的網路輸入介面Ii及網路輸出介面Oi亦可分別為RJ45輸入介面及RJ45輸出介面,但可不限於此。For the convenience of description, the following will synchronize the i-th ( ) synchronization device is abbreviated as synchronization device Di, which may include a network input interface Ii and a network output interface Oi, but is not limited thereto. In addition, similar to the management device MM, the network input interface Ii and the network output interface Oi of the synchronization device Di can also be an RJ45 input interface and an RJ45 output interface, respectively, but not limited thereto.
簡言之,管理裝置MM及同步裝置D1~DN可依序透過RJ45輸入/輸出介面串接而形成如圖3所示的環狀結構,而管理裝置MM及同步裝置D1~DN兩兩之間可採用習知的RJ45線材連接即可。另外,為了在管理裝置MM及同步裝置D1~DN之間傳遞信號,圖3中的各個網路輸入介面及網路輸出介面的腳位可具有與習知技術不同的定義,而相關細節將在之後另行說明。In short, the management device MM and the synchronization devices D1~DN can be serially connected in series through the RJ45 input/output interface to form a ring structure as shown in FIG. 3, and the management device MM and the synchronization devices D1~DN are connected between two The conventional RJ45 wire can be used for connection. In addition, in order to transmit signals between the management device MM and the synchronization devices D1 to DN, the pins of each network input interface and network output interface in FIG. 3 may have different definitions from those of the prior art, and the relevant details will be described in It will be explained later.
在本發明的實施例中,管理裝置MM、同步裝置D1、同步裝置Di()及同步裝置DN可個別用於執行本發明提出的分散式同步方法,但其個別執行的操作皆有所不同,以下將輔以第一至第四實施例作進一步說明。In the embodiment of the present invention, the management device MM, the synchronization device D1, the synchronization device Di ( ) and the synchronization device DN can be individually used to execute the distributed synchronization method proposed by the present invention, but the operations performed individually are different, and the following will be further described with the aid of the first to fourth embodiments.
在本發明的第一實施例中,管理裝置MM還可包括處理模組,而此處理模組可包括一處理器(其例如是微處理器、控制器、微控制器、現場可程式閘陣列電路(Field Programmable Gate Array,FPGA)及/或中央處理單元(central processing unit,CPU))及一數位鎖相迴路(digital phase lock loop,DPLL),其中所述處理器可載入特定的軟體、程式碼、應用程式,以協同所述DPLL來實現本發明提出的分散式同步方法,其細節詳述如下。In the first embodiment of the present invention, the management device MM may further include a processing module, and the processing module may include a processor (eg, a microprocessor, a controller, a microcontroller, a field programmable gate array) circuit (Field Programmable Gate Array, FPGA) and/or central processing unit (CPU)) and a digital phase lock loop (DPLL), wherein the processor can be loaded with specific software, The program code and application program can cooperate with the DPLL to realize the distributed synchronization method proposed by the present invention, and the details are described below.
請參照圖4A,其是依據本發明第一實施例繪示的分散式同步方法流程圖。本實施例的方法可由圖3的管理裝置MM執行,以下即搭配圖3所示的元件說明圖4A各步驟的細節。Please refer to FIG. 4A , which is a flowchart of a distributed synchronization method according to the first embodiment of the present invention. The method of this embodiment can be executed by the management device MM in FIG. 3 , and the details of each step in FIG. 4A will be described below in conjunction with the elements shown in FIG. 3 .
首先,在步驟S411中,管理裝置MM可接收PTP封包P1,並解譯PTP封包P1以取得參考1PPS信號(以下以代稱)、參考頻率信號(以下以代稱)及參考日時間資訊(以下以代稱)。First, in step S411, the management device MM can receive the PTP packet P1, and decode the PTP packet P1 to obtain the reference 1PPS signal (hereinafter referred to as the code name), reference frequency signal (hereinafter referred to as name) and reference date and time information (below name).
在一實施例中,管理裝置MM例如可透過網路而從圖2所示的GM取得上述PTP封包P1,並可相應地對其進行解譯以取得、、,但可不限於此。在一實施例中,例如是具有一預設頻率(例如10MHz)的信號,但可不限於此。In one embodiment, the management device MM can obtain the above-mentioned PTP packet P1 from the GM shown in FIG. 2 through the network, for example, and can interpret it accordingly to obtain the PTP packet P1. , , , but not limited to this. In one embodiment, For example, it is a signal with a predetermined frequency (eg, 10 MHz), but it is not limited to this.
接著,在步驟S412中,管理裝置MM可透過管理裝置MM的網路輸出介面OM發送參考同步信號及參考控制信號至同步裝置D1(即,同步裝置D1~DN中的第1個同步裝置),其中參考同步信號可包括、、,且參考控制信號可用於要求同步裝置D1基於參考同步信號同步於管理裝置MM。在本發明的實施例中,參考控制信號例如是一種通用非同步收發器(Universal Asynchronous Receiver Transmitter,UART)信號,但可不限於此。Next, in step S412, the management device MM can send the reference synchronization signal through the network output interface OM of the management device MM and reference control signal To the synchronizing device D1 (ie, the first synchronizing device among the synchronizing devices D1~DN), wherein the reference synchronization signal can include , , , and the reference control signal Can be used to request synchronization device D1 based on a reference synchronization signal Synchronized with the management device MM. In an embodiment of the present invention, the reference control signal For example, it is a universal asynchronous receiver (Universal Asynchronous Receiver Transmitter, UART) signal, but it is not limited to this.
在一實施例中,管理裝置MM的數位鎖相迴路可將進行一回送(loopback)操作,而經回收操作後的可用於與同步裝置DN所傳來的資訊進行比較,以作為管理裝置MM要求同步裝置D1~DN的至少其中之一進行時間/相位校正操作的依據。相關細節將在之後輔以第五實施例另行說明。In one embodiment, the digital phase locked loop of the management device MM can A loopback operation is performed, and the It can be used for comparison with the information sent by the synchronization device DN, and used as a basis for the management device MM to request at least one of the synchronization devices D1 to DN to perform a time/phase correction operation. Relevant details will be described later with the help of the fifth embodiment.
在本發明的第二實施例中,同步裝置D1還可包括同步模組,而此同步模組可包括處理器(其例如是微處理器、控制器、微控制器、FPGA及/或CPU)及數位鎖相迴路,其中所述處理器可載入特定的軟體、程式碼、應用程式,以協同所述數位鎖相迴路來實現本發明提出的分散式同步方法,其細節詳述如下。In the second embodiment of the present invention, the synchronization device D1 may further include a synchronization module, and the synchronization module may include a processor (eg, a microprocessor, a controller, a microcontroller, an FPGA and/or a CPU) and a digital phase-locked loop, wherein the processor can load specific software, code, and application programs to cooperate with the digital phase-locked loop to implement the distributed synchronization method proposed by the present invention, the details of which are described in detail below.
請參照圖4B,其是依據本發明第二實施例繪示的分散式同步方法流程圖。本實施例的方法可由圖3的同步裝置D1執行,以下即搭配圖3所示的元件說明圖4B各步驟的細節。Please refer to FIG. 4B , which is a flowchart of a distributed synchronization method according to the second embodiment of the present invention. The method of this embodiment can be executed by the synchronization device D1 in FIG. 3 , and the details of each step in FIG. 4B will be described below in conjunction with the elements shown in FIG. 3 .
首先,在步驟S421中,同步裝置D1可透過同步裝置D1的網路輸入介面I1從管理裝置MM接收參考同步信號及參考控制信號。First, in step S421, the synchronization device D1 can receive the reference synchronization signal from the management device MM through the network input interface I1 of the synchronization device D1 and reference control signal .
之後,在步驟S422中,同步裝置D1可基於參考同步信號及參考控制信號執行與管理裝置MM的同步操作,並相應地產生同步信號。具體而言,由於參考控制信號係要求同步裝置D1參考同步信號同步於管理裝置MM,因此當同步裝置D1接收到參考控制信號之後,可相應地將管理裝置MM視為主(master)裝置,並以僕(slave)裝置的身分與將自身的頻率、時間、相位同步於管理裝置MM,但可不限於此。Then, in step S422, the synchronization device D1 may be based on the reference synchronization signal and reference control signal Performs a synchronization operation with the management device MM and generates a synchronization signal accordingly . Specifically, since the reference control signal The system requires the synchronization device D1 to refer to the synchronization signal Synchronized with the management device MM, so when the synchronization device D1 receives the reference control signal Afterwards, the management device MM can be regarded as a master device accordingly, and can synchronize its own frequency, time and phase with the management device MM as a slave device, but it is not limited to this.
因此,在第二實施例中,步驟S422中的同步操作可包括時間同步操作、頻率同步操作及相位同步操作。在一實施例中,同步裝置D1可基於參考同步信號中的與管理裝置MM進行頻率同步操作,以相應地產生(即,同步裝置D1產生的頻率信號,其亦可對應於上述預設頻率(例如10MHz))。再者,同步裝置D1可基於參考同步信號中的與管理裝置MM進行時間同步操作,以相應地產生(即,同步裝置D1產生的日時間資訊)。Therefore, in the second embodiment, the synchronization operation in step S422 may include a time synchronization operation, a frequency synchronization operation, and a phase synchronization operation. In one embodiment, the synchronization device D1 may be based on a reference synchronization signal middle Frequency synchronisation with the management means MM to generate accordingly (That is, the frequency signal generated by the synchronization device D1 may also correspond to the above-mentioned preset frequency (eg, 10 MHz)). Furthermore, the synchronization device D1 may be based on a reference synchronization signal middle A time synchronization operation with the management device MM to generate accordingly (that is, the time-of-day information generated by the synchronization device D1).
此外,在第二實施例中,同步裝置D1可基於參考同步信號中的與管理裝置MM進行相位同步操作,以相應地產生一特定1PPS信號。之後,同步裝置D1的數位鎖相迴路例如可對此特定1PPS信號執行一回送操作,而同步裝置D1可估計與(經回送操作後的)特定1PPS信號之間的特定偏移量,並基於此特定偏移量將所述特定1PPS信號校正為,但本發明可不限於此。在一實施例中,同步裝置D1可另透過10G介面連接於管理裝置MM,並可透過此10G介面將上述特定偏移量回報至管理裝置MM,但可不限於此。Furthermore, in the second embodiment, the synchronization device D1 may be based on a reference synchronization signal middle A phase synchronization operation is performed with the management device MM to generate a specific 1PPS signal accordingly. Afterwards, the digital phase-locked loop of the synchronization device D1 can, for example, perform a loopback operation on the specific 1PPS signal, and the synchronization device D1 can estimate A specific offset from a specific 1PPS signal (after loopback operation), and based on this specific offset, the specific 1PPS signal is corrected to , but the present invention may not be limited to this. In one embodiment, the synchronization device D1 can be further connected to the management device MM through the 10G interface, and can report the above-mentioned specific offset to the management device MM through the 10G interface, but it is not limited thereto.
接著,在步驟S423中,同步裝置D1可透過同步裝置D1的網路輸出介面O1發送同步信號及控制信號至同步裝置D2,其中同步信號可包括、、,而控制信號可由同步裝置D1所產生,並用於要求同步裝置D2基於同步信號同步於同步裝置D1。在本發明的實施例中,控制信號例如是一種UART信號,但可不限於此。Next, in step S423, the synchronization device D1 can send a synchronization signal through the network output interface O1 of the synchronization device D1 and control signals to synchronizing device D2, where the synchronizing signal can include , , , while the control signal Can be generated by synchronizing device D1 and used to request synchronizing device D2 based on the synchronizing signal Synchronized with synchronization device D1. In an embodiment of the invention, the control signal For example, it is a UART signal, but not limited to this.
在本發明的第三實施例中,當時,同步裝置Di還可包括同步模組,而此同步模組可包括處理器及數位鎖相迴路,其中所述處理器可載入特定的軟體、程式碼、應用程式,以協同所述數位鎖相迴路來實現本發明提出的分散式同步方法,其細節詳述如下。In the third embodiment of the present invention, when At the same time, the synchronization device Di may also include a synchronization module, and the synchronization module may include a processor and a digital phase-locked loop, wherein the processor may be loaded with specific software, code, and applications to cooperate with the digital The phase-locked loop is used to realize the distributed synchronization method proposed by the present invention, and the details are described as follows.
請參照圖4C,其是依據本發明第三實施例繪示的分散式同步方法流程圖。本實施例的方法可由圖3的同步裝置Di()執行,以下即搭配圖3所示的元件說明圖4C各步驟的細節。Please refer to FIG. 4C , which is a flowchart of a distributed synchronization method according to the third embodiment of the present invention. The method of this embodiment can be implemented by the synchronization device Di ( ) is executed, and the details of each step in FIG. 4C will be described below with the components shown in FIG. 3 .
首先,在步驟S431中,同步裝置Di可透過同步裝置Di的網路輸入介面Ii從第i-1個同步裝置接收同步信號及控制信號,其中控制信號可由所述第i-1個同步裝置所產生,並用於要求同步裝置Di基於同步信號同步於所述第i-1個同步裝置。在本發明的實施例中,控制信號例如是一種UART信號,但可不限於此。First, in step S431, the synchronization device Di can receive a synchronization signal from the i-1 th synchronization device through the network input interface Ii of the synchronization device Di. and control signals , where the control signal can be generated by the i-1 th synchronizing device and used to request the synchronizing device Di based on the synchronizing signal Synchronized to the i-1 th synchronization device. In an embodiment of the invention, the control signal For example, it is a UART signal, but not limited to this.
此外,同步信號可包括、、,其中為所述第i-1個同步裝置產生的1PPS信號,為所述第i-1個同步裝置產生的頻率信號(其亦可具有上述預設頻率(例如10MHz)),為所述第i-1個同步裝置產生的日時間資訊,但可不限於此。In addition, the synchronization signal can include , , ,in the 1PPS signal generated for the i-1th synchronization device, the frequency signal generated for the i-1th synchronization device (which may also have the above-mentioned preset frequency (eg 10MHz)), The time-of-day information generated for the i-1 th synchronization device, but not limited to this.
之後,在步驟S432中,同步裝置Di可基於同步信號及控制信號執行與所述第i-1個同步裝置的同步操作,並相應地產生同步信號。具體而言,由於控制信號係要求同步裝置Di基於同步信號同步於所述第i-1個同步裝置,因此當同步裝置Di接收到控制信號之後,可相應地將所述第i-1個同步裝置視為主裝置,並以僕裝置的身分與將自身的頻率、時間、相位同步於所述第i-1個同步裝置,但可不限於此。Then, in step S432, the synchronization device Di may be based on the synchronization signal and control signals perform a synchronizing operation with the i-1th synchronizing device and generate a synchronizing signal accordingly . Specifically, due to the control signal The system requires the synchronizing device Di to be based on the synchronizing signal synchronizing to the i-1th synchronizing device, so when the synchronizing device Di receives the control signal Afterwards, the i-1 th synchronizing device can be regarded as a master device accordingly, and the frequency, time and phase of itself can be synchronized with the i-1 th synchronizing device as a slave device, but not limited to this.
因此,在第三實施例中,步驟S432中的同步操作可包括時間同步操作、頻率同步操作及相位同步操作。在一實施例中,同步裝置Di可基於同步信號中的與所述第i-1個同步裝置進行頻率同步操作,以相應地產生(即,同步裝置Di產生的頻率信號,其亦可對應於上述預設頻率(例如10MHz))。再者,同步裝置Di可基於同步信號中的與所述第i-1個同步裝置進行時間同步操作,以相應地產生(即,同步裝置Di產生的日時間資訊)。Therefore, in the third embodiment, the synchronization operation in step S432 may include a time synchronization operation, a frequency synchronization operation, and a phase synchronization operation. In one embodiment, the synchronization device Di may be based on a synchronization signal middle frequency synchronizing operation with the i-1 th synchronizing device to generate a corresponding (That is, the frequency signal generated by the synchronization device Di may also correspond to the above-mentioned preset frequency (eg, 10 MHz)). Furthermore, the synchronization device Di may be based on a synchronization signal middle perform a time synchronization operation with the i-1th synchronization device to generate a corresponding (ie, the time of day information generated by the synchronization device Di).
此外,在第三實施例中,同步裝置Di可基於同步信號中的與所述第i-1個同步裝置進行相位同步操作,以相應地產生一特定1PPS信號。之後,同步裝置Di的數位鎖相迴路例如可對此特定1PPS信號執行一回送操作,而同步裝置Di可估計與(經回送操作後的)特定1PPS信號之間的特定偏移量,並基於此特定偏移量將所述特定1PPS信號校正為,但本發明可不限於此。在一實施例中,同步裝置Di可另透過10G介面連接於管理裝置MM,並可透過此10G介面將上述特定偏移量回報至管理裝置MM,但可不限於此。Furthermore, in the third embodiment, the synchronizing means Di may be based on a synchronizing signal middle A phase synchronization operation is performed with the i-1th synchronization device to generate a specific 1PPS signal accordingly. Afterwards, the digital phase-locked loop of the synchronization device Di can, for example, perform a loopback operation on the specific 1PPS signal, and the synchronization device Di can estimate A specific offset from a specific 1PPS signal (after loopback operation), and based on this specific offset, the specific 1PPS signal is corrected to , but the present invention may not be limited to this. In one embodiment, the synchronization device Di can be further connected to the management device MM through a 10G interface, and can report the above-mentioned specific offset to the management device MM through the 10G interface, but it is not limited thereto.
接著,在步驟S433中,同步裝置Di可透過同步裝置Di的網路輸出介面Oi發送同步信號及控制信號至第i+1個同步裝置,其中同步信號可包括、、,而控制信號可由同步裝置Di所產生,並用於要求所述第i+1個同步裝置基於同步信號同步於同步裝置Di。在本發明的實施例中,控制信號例如是一種UART信號,但可不限於此。Next, in step S433, the synchronization device Di can send a synchronization signal through the network output interface Oi of the synchronization device Di and control signals to the i+1th synchronizing device, where the synchronizing signal can include , , , while the control signal can be generated by the sync device Di and used to request the i+1th sync device based on the sync signal Synchronized to the synchronization device Di. In an embodiment of the invention, the control signal For example, it is a UART signal, but not limited to this.
在本發明的第四實施例中,同步裝置DN還可包括同步模組,而此同步模組可包括處理器及數位鎖相迴路,其中所述處理器可載入特定的軟體、程式碼、應用程式,以協同所述數位鎖相迴路來實現本發明提出的分散式同步方法,其細節詳述如下。In the fourth embodiment of the present invention, the synchronization device DN may further include a synchronization module, and the synchronization module may include a processor and a digital phase-locked loop, wherein the processor may be loaded with specific software, code, An application program is used to cooperate with the digital phase-locked loop to realize the distributed synchronization method proposed by the present invention, the details of which are detailed as follows.
請參照圖4D,其是依據本發明第四實施例繪示的分散式同步方法流程圖。本實施例的方法可由圖3的同步裝置DN執行,以下即搭配圖3所示的元件說明圖4D各步驟的細節。Please refer to FIG. 4D , which is a flowchart of a distributed synchronization method according to the fourth embodiment of the present invention. The method of this embodiment can be executed by the synchronization device DN of FIG. 3 , and the details of each step of FIG. 4D will be described below with the elements shown in FIG. 3 .
首先,在步驟S441中,同步裝置DN可透過同步裝置DN的網路輸入介面IN從第N-1個同步裝置接收同步信號及控制信號,其中控制信號可由所述第N-1個同步裝置所產生,並用於要求同步裝置DN基於同步信號同步於所述第N-1個同步裝置。在本發明的實施例中,控制信號例如是一種UART信號,但可不限於此。First, in step S441, the synchronization device DN can receive a synchronization signal from the N-1th synchronization device through the network input interface IN of the synchronization device DN and control signals , where the control signal can be generated by the N-1th synchronizing device and used to request the synchronizing device DN based on the synchronizing signal Synchronized to the N-1th synchronization device. In an embodiment of the invention, the control signal For example, it is a UART signal, but not limited to this.
此外,同步信號可包括、、,其中為所述第N-1個同步裝置產生的1PPS信號,為所述第N-1個同步裝置產生的頻率信號(其亦可具有上述預設頻率(例如10MHz)),為所述第N-1個同步裝置產生的日時間資訊,但可不限於此。In addition, the synchronization signal can include , , ,in the 1PPS signal generated for the N-1th synchronization device, the frequency signal generated for the N-1th synchronization device (which may also have the above-mentioned preset frequency (eg 10MHz)), The time-of-day information generated for the N-1 th synchronization device, but not limited to this.
之後,在步驟S442中,同步裝置DN可基於同步信號及控制信號執行與所述第N-1個同步裝置的同步操作,並相應地產生同步信號。具體而言,由於控制信號係要求同步裝置DN基於同步信號同步於所述第N-1個同步裝置,因此當同步裝置DN接收到控制信號之後,可相應地將所述第N-1個同步裝置視為主裝置,並以僕裝置的身分與將自身的頻率、時間、相位同步於所述第N-1個同步裝置,但可不限於此。After that, in step S442, the synchronization device DN may be based on the synchronization signal and control signals perform a synchronizing operation with the N-1th synchronizing device and generate a synchronizing signal accordingly . Specifically, due to the control signal The system requires the synchronization device DN to be based on the synchronization signal Synchronized to the N-1th synchronizing device, so when the synchronizing device DN receives the control signal After that, the N-1th synchronization device can be regarded as the master device accordingly, and the frequency, time and phase of itself can be synchronized with the N-1th synchronization device as a slave device, but not limited to this.
因此,在第四實施例中,步驟S442中的同步操作可包括時間同步操作、頻率同步操作及相位同步操作。在一實施例中,同步裝置DN可基於同步信號中的與所述第N-1個同步裝置進行頻率同步操作,以相應地產生(即,同步裝置DN產生的頻率信號,其亦可對應於上述預設頻率(例如10MHz))。再者,同步裝置DN可基於同步信號中的與所述第N-1個同步裝置進行時間同步操作,以相應地產生(即,同步裝置DN產生的日時間資訊)。Therefore, in the fourth embodiment, the synchronization operation in step S442 may include a time synchronization operation, a frequency synchronization operation, and a phase synchronization operation. In one embodiment, the synchronization device DN may be based on a synchronization signal middle frequency synchronizing operation with the N-1th synchronizing device to generate a corresponding (That is, the frequency signal generated by the synchronization device DN may also correspond to the above-mentioned preset frequency (eg, 10 MHz)). Furthermore, the synchronization device DN may be based on a synchronization signal middle perform a time synchronization operation with the N-1th synchronization device to generate a corresponding (ie, the time of day information generated by the synchronization device DN).
此外,在第四實施例中,同步裝置DN可基於同步信號中的與所述第N-1個同步裝置進行相位同步操作,以相應地產生一特定1PPS信號。之後,同步裝置DN的數位鎖相迴路例如可對此特定1PPS信號執行一回送操作,而同步裝置DN可估計與(經回送操作後的)特定1PPS信號之間的特定偏移量,並基於此特定偏移量將所述特定1PPS信號校正為,但本發明可不限於此。在一實施例中,同步裝置DN可另透過10G介面連接於管理裝置MM,並可透過此10G介面將上述特定偏移量回報至管理裝置MM,但可不限於此。Furthermore, in the fourth embodiment, the synchronization device DN may be based on a synchronization signal middle A phase synchronization operation is performed with the N-1th synchronization device to generate a specific 1PPS signal accordingly. Afterwards, the digital phase-locked loop of the synchronizing device DN can perform a loopback operation for this specific 1PPS signal, and the synchronizing device DN can estimate A specific offset from a specific 1PPS signal (after loopback operation), and based on this specific offset, the specific 1PPS signal is corrected to , but the present invention may not be limited to this. In an embodiment, the synchronization device DN can be further connected to the management device MM through a 10G interface, and can report the above-mentioned specific offset to the management device MM through the 10G interface, but it is not limited thereto.
接著,在步驟S443中,同步裝置DN可透過同步裝置DN的網路輸出介面ON發送同步信號及控制信號至管理裝置MM,其中同步信號可包括、、,而控制信號可由同步裝置DN所產生,並用於通知管理裝置MM同步裝置D1~DN已完成同步,但可不限於此。在本發明的實施例中,控制信號例如是一種UART信號,但可不限於此。Next, in step S443, the synchronization device DN can send a synchronization signal through the network output interface ON of the synchronization device DN and control signals to the management means MM, where the synchronization signal can include , , , while the control signal It can be generated by the synchronization device DN and used to notify the management device MM that the synchronization devices D1 to DN have completed synchronization, but it is not limited to this. In an embodiment of the invention, the control signal For example, it is a UART signal, but not limited to this.
在第五實施例中,管理裝置MM可網路輸入介面IM從同步裝置DN接同步信號及控制信號。之後,管理裝置MM即可估計(經回送操作的)及之間的相位偏移量,並判斷此相位偏移量是否大於一偏移量門限值。In the fifth embodiment, the management device MM can receive the synchronization signal from the synchronization device DN through the network input interface IM and control signals . Afterwards, the management device MM can estimate (operated by loopback) and and determine whether the phase offset is greater than an offset threshold value.
在一實施例中,反應於判定所述相位偏移量大於偏移量門限值,管理裝置MM可依據相位偏移量與偏移量門限值之間的差值控制同步裝置D1~DN的至少其中之一進行相位校正操作。In one embodiment, in response to determining that the phase offset is greater than the offset threshold, the management device MM may control at least the synchronization devices D1˜DN according to the difference between the phase offset and the offset threshold. One of them performs a phase correction operation.
舉例而言,假設及之間的相位偏移量為+7ns,而所述偏移量門限值為5ns。在此情況下,管理裝置MM例如可基於+7ns與5ns之間的差值(即,+2ns)來控制同步裝置D1~DN的至少其中之一進行相位校正操作。例如,管理裝置MM可要求同步裝置D1~DN的其中之二個別將所產生的1PPS信號調慢1ns(即,共調慢2ns),以實現上述相位校正操作,但可不限於此。For example, suppose and The phase offset between is +7ns, and the offset threshold is 5ns. In this case, the management device MM may, for example, control at least one of the synchronization devices D1 to DN to perform a phase correction operation based on the difference between +7ns and 5ns (ie, +2ns). For example, the management device MM may require two of the synchronization devices D1 ˜DN to slow down the generated 1PPS signal by 1 ns individually (ie, slow down by 2 ns in total) to realize the above-mentioned phase correction operation, but it is not limited thereto.
由上可知,透過本發明提出的分散式同步系統及方法,可在管理裝置MM不具備IEEE 1588及SyncE功能的情況下,以較低的成本實現同步裝置D1~DN的同步。並且,相較於圖2所示的二層式DDC架構,圖3的單層式DDC架構可達到較高的同步精確度。As can be seen from the above, through the distributed synchronization system and method proposed in the present invention, the synchronization of the synchronization devices D1 to DN can be achieved at a lower cost when the management device MM does not have the IEEE 1588 and SyncE functions. Moreover, compared with the two-layer DDC architecture shown in FIG. 2 , the single-layer DDC architecture of FIG. 3 can achieve higher synchronization accuracy.
請參照圖5,其是依據本發明之一實施例繪示的同步裝置的資料平面及控制平面的示意圖。在圖5中,對於各個同步裝置Di()而言,其可包括資料平面DPi及控制平面CPi,其中資料平面DPi可包括100G及400G的介面,而控制平面CPi可包括網路輸入介面Ii、網路輸出介面Oi及10G介面Eth,但可不限於此。Please refer to FIG. 5 , which is a schematic diagram of a data plane and a control plane of a synchronization device according to an embodiment of the present invention. In Figure 5, for each synchronization device Di ( ), it can include data plane DPi and control plane CPi, wherein data plane DPi can include 100G and 400G interfaces, and control plane CPi can include network input interface Ii, network output interface Oi and 10G interface Eth, but But not limited to this.
在本實施例中,由於同步裝置Di係透過屬於控制平面CPi中的網路輸入介面Ii及網路輸出介面Oi來接收/發送同步信號及控制信號,而非透過屬於資料平面DPi的100G及400G的介面(即,具有較高傳輸能力)來接收/發送資料量較少的同步信號及控制信號,因此可讓同步裝置Di的硬體資源得到較為適當的利用。In this embodiment, since the synchronization device Di receives/sends synchronization signals and control signals through the network input interface Ii and network output interface Oi belonging to the control plane CPi, rather than through the 100G and 400G belonging to the data plane DPi The interface (ie, having higher transmission capability) is used to receive/send synchronization signals and control signals with less data, so that the hardware resources of the synchronization device Di can be utilized more appropriately.
為使本案的概念更易於理解,以下另輔以圖6說明本案與習知技術的差異。請參照圖6,其是依據圖2及圖3繪示的技術比較圖。在圖6中,DDC系統600例如相同於圖2的DDC系統200,而DDC系統610例如是圖3的分散式同步系統300的一種實施態樣(即,N為5時的態樣)。In order to make the concept of the present case easier to understand, the difference between the present case and the prior art is illustrated with the aid of FIG. 6 below. Please refer to FIG. 6 , which is a technical comparison diagram according to FIG. 2 and FIG. 3 . In FIG. 6 , the
如先前所提及的,DDC系統600中的管理交換器及各個LC係個別為一邊界時鐘。然而,在實現本發明提出的分散式同步方法之後,DDC系統610中的管理裝置MM及同步裝置D1~D5個別可理解為一普通時鐘(ordinary clock,OC),因而可體現與DDC系統600不同的運作方式/概念。As previously mentioned, the management switch and each LC in
此外,如先前所提及的,為了讓圖3中的各個網路輸入介面及網路輸出介面可用於傳遞日時間資訊(例如)、控制信號(例如)、1PPS信號(例如)及頻率信號(例如),各網路輸入介面及網路輸出介面的腳位可具有與習知RJ45不同的定義,以下將作進一步說明。Furthermore, as mentioned earlier, in order to allow the various network input and network output interfaces in Figure 3 to be used to communicate time of day information (eg ), control signals (e.g. ), 1PPS signal (e.g. ) and frequency signals (e.g. ), the pins of each network input interface and network output interface may have different definitions from those of the conventional RJ45, which will be further described below.
在本發明的實施例中,所提及的日時間資訊、控制信號、1PPS信號及頻率信號個別可為一差動信號。在此情況下,每個1PPS信號(例如)可理解為包括1PPS-及1PPS+等信號成分;每個頻率信號(例如是對應於10MHz的)可理解為包括10M-及10M+等信號成分;每個控制信號(例如)可理解為包括UART-及UART+等信號成分;每個日時間資訊(例如)可理解為包括ToD-及ToD+等信號成分,但可不限於此。In the embodiment of the present invention, the mentioned time-of-day information, the control signal, the 1PPS signal and the frequency signal can each be a differential signal. In this case, each 1PPS signal (eg ) can be understood as including signal components such as 1PPS- and 1PPS+; each frequency signal (for example, corresponding to 10MHz) ) can be understood as including signal components such as 10M- and 10M+; each control signal (for example, ) can be understood as including signal components such as UART- and UART+; ) can be understood to include signal components such as ToD- and ToD+, but not limited to this.
請參照圖7,其是依據本發明之一實施例繪示的習知RJ45介面腳位表與本案RJ45介面腳位表的比較圖。如圖7所示,在習知RJ45介面腳位表710中共有編號1至編號8等8個腳位,其中編號1及2(以下將編號1及2的腳位稱為第一腳位)係保留(reserved)腳位,編號3係用於傳送/接收1PPS-,編號4為接地端腳位,編號5為使用者定義(user-defined)腳位(以下將編號4及5的腳位稱為第二腳位),編號6用於傳送/接收1PPS+,編號7用於傳送/接收ToD-,編號8用於傳送/接收ToD+。Please refer to FIG. 7 , which is a comparison diagram of the conventional RJ45 interface pin table and the RJ45 interface pin table of the present case according to an embodiment of the present invention. As shown in FIG. 7 , there are 8 pins numbered 1 to 8 in the conventional RJ45 interface pin table 710 , among which the pins are numbered 1 and 2 (the pins numbered 1 and 2 are referred to as the first pins hereinafter) It is reserved (reserved) pin, No. 3 is used to transmit/receive 1PPS-, No. 4 is a ground pin, No. 5 is a user-defined (user-defined) pin (the following will be No. 4 and 5 pins Called the second pin),
然而,在本案的RJ45介面腳位表720中,編號1改為用於傳送/接收10M-,編號2改為用於傳送/接收10M+(即,上述第一腳位改為用於傳送/接收頻率信號)。另外,編號4改為用於傳送/接收UART-,而編號5則改為用於傳送/接收UART+(即,上述第二腳位改為用於傳送/接收控制信號)。其餘的編號3、6、7、8的功能則未更動。However, in the RJ45 interface pin table 720 of this case, the
在此情況下,當圖3中的任一網路輸入介面採用RJ45介面腳位表720時,此網路輸入介面即可透過編號1~8的腳位分別接收10M-、10M+、1PPS-、UART-、UART+、1PPS+、ToD-及ToD+等信號成分,但可不限於此。換言之,編號1、2可理解為第一輸入腳位,編號3、6可理解為1PPS信號輸入腳位,編號4、5可理解為第二輸入腳位,編號7、8可理解為日時間信號輸入腳位,但可不限於此。In this case, when any network input interface in Figure 3 uses the RJ45 interface pin table 720, the network input interface can receive 10M-, 10M+, 1PPS-, Signal components such as UART-, UART+, 1PPS+, ToD- and ToD+, but not limited to this. In other words,
另一方面,當圖3中的任一網路輸出介面採用RJ45介面腳位表720時,此網路輸入介面即可透過編號1~8的腳位分別傳送10M-、10M+、1PPS-、UART-、UART+、1PPS+、ToD-及ToD+等信號成分,但可不限於此。換言之,編號1、2可理解為第一輸出腳位,編號3、6可理解為1PPS信號輸出腳位,編號4、5可理解為第二輸出腳位,編號7、8可理解為日時間信號輸出腳位,但可不限於此。On the other hand, when any network output interface in Figure 3 uses the RJ45 interface pin table 720, the network input interface can transmit 10M-, 10M+, 1PPS-, UART through the pins numbered 1 to 8 respectively. -, UART+, 1PPS+, ToD-, ToD+ and other signal components, but not limited to this. In other words,
請參照圖8,其是依據本發明之一實施例繪示的同步裝置的功能方塊圖。在圖8中,同步裝置Di可包括網路輸入介面Ii、網路輸出介面Oi及同步模組SNi,其中網路輸入介面Ii、網路輸出介面Oi可個別採用圖7所示的RJ45介面腳位表720。Please refer to FIG. 8 , which is a functional block diagram of a synchronization device according to an embodiment of the present invention. In FIG. 8 , the synchronization device Di may include a network input interface Ii, a network output interface Oi, and a synchronization module SNi, wherein the network input interface Ii and the network output interface Oi can individually use the RJ45 interface pins shown in FIG. 7 . Bit table 720.
在此情況下,網路輸入介面Ii可用於接收來自前一級裝置的、、及控制信號,而網路輸出介面Oi則可用於傳送同步裝置Di產生的、、及控制信號至下一級裝置。舉例而言,若同步裝置Di為同步裝置D1(即,i為1),則網路輸入介面Ii可用於接收來自圖3中管理裝置MM(即,同步裝置D1的前一級裝置)的、、及參考控制信號,而網路輸出介面Oi則可用於傳送、、及控制信號至同步裝置D2(即,同步裝置D1的下一級裝置)。舉另一例而言,若同步裝置Di為同步裝置DN(即,i為N),則網路輸入介面Ii可用於接收來自圖3中第N-1個同步裝置(即,同步裝置DN的前一級裝置)的、、及控制信號,而網路輸出介面Oi則可用於傳送 、 、 及控制信號至管理裝置MM(即,同步裝置DN的下一級裝置)。In this case, the network input interface Ii can be used to receive , , and control signals , and the network output interface Oi can be used to transmit the , , and control signals to the next level device. For example, if the synchronizing device Di is the synchronizing device D1 (ie, i is 1), then the network input interface Ii can be used to receive information from the management device MM (ie, the previous-level device of the synchronizing device D1 ) in FIG. 3 . , , and reference control signal , while the network output interface Oi can be used to transmit , , and control signals To sync device D2 (ie, the next-level device to sync device D1). For another example, if the synchronizing device Di is the synchronizing device DN (ie, i is N), the network input interface Ii can be used to receive data from the N-1 th synchronizing device in FIG. primary device) , , and control signals , while the network output interface Oi can be used to transmit , , and control signals To the management device MM (ie, the device next to the synchronization device DN).
另外,如先前所提及的,網路輸入介面Ii所接收的控制信號、、、個別可為一差動信號,即圖8上半部雙虛線處所示的10M-/+、1PPS-/+、UART-/+及ToD-/+。In addition, as mentioned earlier, the control signals received by the network input interface Ii , , , Each can be a differential signal, ie, 10M-/+, 1PPS-/+, UART-/+, and ToD-/+ shown at the double-dashed line in the upper half of FIG. 8 .
在一實施例中,同步模組SNi可基於控制信號、、、執行與前一級裝置的同步操作,並相應地產生同步信號及控制信號。之後,同步模組SNi可透過網路輸出介面Oi發送同步信號及控制信號至下一級裝置。同步模組SNi所執行操作的細節可參考先前實施例中有關於同步裝置D1~DN的說明,於此不另贅述。In one embodiment, the synchronization module SNi may be based on a control signal , , , Executes the synchronization operation with the previous stage device and generates the synchronization signal accordingly and control signals . After that, the synchronization module SNi can send the synchronization signal through the network output interface Oi and control signals to the next level device. For details of the operations performed by the synchronization module SNi, reference may be made to the descriptions of the synchronization devices D1 to DN in the previous embodiments, which will not be repeated here.
如圖8所示,同步模組SNi可包括差動至單端橋接器DSi、數位鎖相迴路LLi、處理器Pi及單端至差動橋接器SDi。差動至單端橋接器DSi可耦接於網路輸入介面Ii,並用於將、、控制信號及分別轉換為對應的第一單端信號、第二單端信號、第三單端信號及第四單端信號。As shown in FIG. 8 , the synchronous module SNi may include a differential-to-single-ended bridge DSi, a digital phase-locked loop LLi, a processor Pi, and a single-ended-to-differential bridge SDi. The differential-to-single-ended bridge DSi can be coupled to the network input interface Ii and used to convert the , ,control signal and Converted to the corresponding first single-ended signal respectively , the second single-ended signal , the third single-ended signal and the fourth single-ended signal .
在一實施例中,由於硬體上的特性,控制信號及等二個差動信號會彼此綁定(bundle),因此差動至單端橋接器DSi可在接收綁定的控制信號及之後,將此二差動信號分離,並個別轉換為對應的單端信號。In one embodiment, due to features on the hardware, the control signal and The two differential signals will be bundled with each other, so the differential-to-single-ended bridge DSi can receive the bundled control signals and Afterwards, the two differential signals are separated and individually converted into corresponding single-ended signals.
在此情況下,差動至單端橋接器DSi可包括RS422埠DSi1及UART DSi2。RS422埠DSi1可耦接於上述第二輸入腳位(即,網路輸入介面Ii的編號4、5)及上述日時間信號輸入腳位(即,網路輸入介面Ii的編號7、8),並用於接收彼此綁定的該參考控制信號及。另外,UART DSi2可耦接於RS422埠DSi1及處理器Pi,並用於分離控制信號及,並將控制信號及分別轉換成對應的第三單端信號及第四單端信號。In this case, the differential-to-single-ended bridge DSi may include the RS422 port DSi1 and the UART DSi2. The RS422 port DSi1 can be coupled to the above-mentioned second input pins (ie, the
數位鎖相迴路LLi耦接於差動至單端橋接器DSi,並接收分別對應於、的第一單端信號及第二單端信號。The digital phase-locked loop LLi is coupled to the differential-to-single-ended bridge DSi, and receives corresponding , The first single-ended signal of and the second single-ended signal .
處理器Pi耦接於數位鎖相迴路LLi及差動至單端橋接器DSi,並經配置以控制數位鎖相迴路LLi基於第一單端信號及第二單端信號執行與前一級裝置的頻率同步操作及相位同步操作,並相應地產生第五單端信號及第六單端信號,其中第五單端信號及第六單端信號分別對應於第一單端信號及第二單端信號。接著,處理器Pi可從差動至單端橋接器DSi接收分別對應於控制信號及的第三單端信號及第四單端信號,並基於第三單端信號產生第七單端信號(即用於控制下一級裝置與同步裝置Di進行同步的單端信號)。並且,處理器Pi可基於第四單端信號執行與前一級裝置的時間同步操作,以產生第八單端信號。The processor Pi is coupled to the digital phase-locked loop LLi and the differential-to-single-ended bridge DSi, and is configured to control the digital phase-locked loop LLi based on the first single-ended signal and the second single-ended signal Perform frequency synchronization operation and phase synchronization operation with the previous stage device, and generate the fifth single-ended signal accordingly and the sixth single-ended signal , where the fifth single-ended signal and the sixth single-ended signal respectively correspond to the first single-ended signal and the second single-ended signal . Then, the processor Pi may receive control signals corresponding to the respective control signals from the differential-to-single-ended bridge DSi and The third single-ended signal of and the fourth single-ended signal , and based on a third single-ended signal Generate a seventh single-ended signal (ie, a single-ended signal used to control the synchronization of the next-level device with the synchronization device Di). Also, the processor Pi may be based on the fourth single-ended signal Performs a time synchronization operation with the previous stage device to generate the eighth single-ended signal .
單端至差動橋接器SDi可耦接於處理器Pi及數位鎖相迴路LLi,並經配置以從數位鎖相迴路LLi接收第五單端信號及第六單端信號,並將其分別轉換為、。另外,單端至差動橋接器SDi可從處理器Pi接收第七單端信號及第八單端信號,並將其分別轉換為控制信號及。之後,單端至差動橋接器SDi可將、、控制信號及發送至網路輸出介面Oi。The single-ended-to-differential bridge SDi may be coupled to the processor Pi and the digital phase-locked loop LLi, and is configured to receive a fifth single-ended signal from the digital phase-locked loop LLi and the sixth single-ended signal , and convert them to , . Additionally, the single-ended-to-differential bridge SDi may receive a seventh single-ended signal from the processor Pi and the eighth single-ended signal , and convert them into control signals respectively and . Then, the single-ended-to-differential bridge SDi can convert , ,control signal and Sent to the network output interface Oi.
此外,單端至差動橋接器SDi可包括RS422埠SDi1及UART SDi2。RS422埠SDi1可耦接於上述第二輸出腳位(即,網路輸出介面Oi的編號4、5)及上述日時間信號輸出腳位(即,網路輸出介面Oi的編號7、8)。另外,UART SDi2可耦接於RS422埠SDi1及處理器Pi。在本實施例中,UART SDi2可用於將第七單端信號及第八單端信號分別轉換為對應的差動信號(即,控制信號及),並將控制信號綁定於,以及將綁定後的控制信號及發送至RS422埠SDi1。之後,RS422埠SDi1即可將綁定後的控制信號及傳送至網路輸出介面Oi中的對應腳位,以發送至下一級裝置(的網路輸入介面),但可不限於此。In addition, the single-ended to differential bridge SDi may include RS422 port SDi1 and UART SDi2. The RS422 port SDi1 can be coupled to the second output pins (ie,
請參照圖9A,其是依據本發明之一實施例繪示的管理裝置的功能方塊圖。如圖9A所示,管理裝置MM可包括處理模組PM、網路輸出介面Oi及一單端至差動橋接器。在本實施例中,處理模組PM可用於提供參考同步信號及參考控制信號。具體而言,處理模組PM可包括處理器MP及數位鎖相迴路ML,其中處理器MP可在透過10G介面從GM(未繪示)接收PTP封包P1之後,藉由解譯PTP封包P1而取得對應於、、。之後,處理器MP可控制數位鎖相迴路ML對進行回送操作,以用於與同步裝置DN提供的比較。另外,處理器MP可產生用於要求同步裝置D1基於參考同步信號同步於管理裝置MM的參考控制信號,並透過管理裝置MM的單端至差動橋接器將、、及參考控制信號發送至網路輸出介面OM。相應地,網路輸出介面OM即可將、、及參考控制信號發送至同步裝置D1。Please refer to FIG. 9A , which is a functional block diagram of a management device according to an embodiment of the present invention. As shown in FIG. 9A, the management device MM may include a processing module PM, a network output interface Oi, and a single-ended-to-differential bridge. In this embodiment, the processing module PM can be used to provide the reference synchronization signal and reference control signal . Specifically, the processing module PM can include a processor MP and a digital phase-locked loop ML, wherein the processor MP can decode the PTP packet P1 by interpreting the PTP packet P1 after receiving the PTP packet P1 from the GM (not shown) through the 10G interface. get corresponding to , , . After that, the processor MP can control the digital phase locked loop ML pair A loopback operation is performed for synchronization with the device DN provided by the Compare. In addition, the processor MP may generate a synchronization signal for requesting the synchronization device D1 to be based on the reference Synchronized to the reference control signal of the management device MM , and through the single-ended to differential bridge of the management device MM will , , and reference control signal Sent to the network output interface OM. Correspondingly, the network output interface OM can , , and reference control signal Sent to sync device D1.
在圖9A中,處理器MP與所示單端至差動橋接器之間的信號傳遞方式,以及單端至差動橋接器的運作方式可參照圖8中處理器Pi與單端至差動橋接器SDi的相關說明,其細節於此不另贅述。In FIG. 9A , the signal transmission mode between the processor MP and the single-ended-to-differential bridge shown, and the operation of the single-ended-to-differential bridge can refer to the processor Pi and the single-ended-to-differential bridge in FIG. 8 . The related description of the bridge SDi will not be repeated here.
請參照圖9B,其是依據圖9A繪示的管理裝置的功能方塊圖。在本實施例中,管理裝置MM可更包括網路輸入介面IM,其可用於接收來自同步裝置DN的、、及控制信號,並相應地轉傳至處理模組PM。Please refer to FIG. 9B , which is a functional block diagram of the management device shown in FIG. 9A . In this embodiment, the management device MM can further include a network input interface IM, which can be used to receive the information from the synchronization device DN. , , and control signals , and correspondingly forwarded to the processing module PM.
另外,本實施例的處理模組PM可另包括所示的差動至單端橋接器,而其運作的方式可參照圖8中差動至單端橋接器DSi的相關說明,於此不另贅述。In addition, the processing module PM of this embodiment may further include a differential-to-single-ended bridge as shown, and the operation of the differential-to-single-ended bridge DSi can be referred to in FIG. Repeat.
綜上所述,透過本發明提出的分散式同步系統及方法,可在管理裝置不具備IEEE 1588及SyncE功能的情況下,以較低的成本實現同步裝置之間的同步。並且,相較於習知的二層式DDC架構,本案所呈現的單層式DDC架構可達到較高的同步精確度。To sum up, through the distributed synchronization system and method proposed in the present invention, synchronization between synchronization devices can be achieved at a lower cost when the management device does not have the IEEE 1588 and SyncE functions. Moreover, compared with the conventional two-layer DDC architecture, the single-layer DDC architecture presented in this case can achieve higher synchronization accuracy.
並且,由於本案的管理裝置及同步裝置係透過RJ45輸出/輸入介面傳送/接收對應的控制信號、1PPS信號、日時間資訊及頻率信號,而非透過資料平面中具較高傳輸能力的介面進行傳送,因此可讓管理裝置及同步裝置的硬體資源得到較合理的運用。Moreover, because the management device and synchronization device in this case transmit/receive the corresponding control signals, 1PPS signals, time-of-day information and frequency signals through the RJ45 output/input interface, rather than through the interface with higher transmission capability in the data plane. , so that the hardware resources of the management device and the synchronization device can be used more reasonably.
另外,為讓本案的RJ45輸出/輸入介面可用於傳送/接收控制信號及頻率信號,本案的RJ45輸出/輸入介面中的多個腳位可具有異於習知作法的定義方式。In addition, in order to allow the RJ45 output/input interface of the present application to be used for transmitting/receiving control signals and frequency signals, a plurality of pins in the RJ45 output/input interface of the present application may be defined in a manner different from the conventional method.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The protection scope of the present invention shall be determined by the scope of the appended patent application.
110:傳統框架交換器
111,121,CPi:CP
112,122:LC
120,200,600,610:DDC系統
201:管理交換器
202:GM
300:分散式同步系統
710,720:RJ45介面腳位表
MM:管理裝置
D1~DN:同步裝置
IM,I1~IN:網路輸入介面
OM,O1~ON:網路輸出介面
P1:PTP封包~:同步信號~:控制信號~:1PPS信號~:頻率信號~:日時間資訊
DPi:資料平面
Eth:10G介面
SNi:同步模組
Pi,MP:處理器
LLi,ML:數位鎖相迴路
DSi:差動至單端橋接器
SDi:單端至差動橋接器
DSi1,SDi1:RS422埠
DSi2,SDi2:UART
PM:處理模組
S411,S412,S421~S423,S431~S433:步驟110:
圖1A是傳統框架交換器的示意圖。 圖1B是分散式分解框架系統的示意圖。 圖2是設置有管理交換器的DDC系統的示意圖。 圖3是依據本發明之一實施例繪示的分散式同步系統示意圖。 圖4A是依據本發明第一實施例繪示的分散式同步方法流程圖。 圖4B是依據本發明第二實施例繪示的分散式同步方法流程圖。 圖4C是依據本發明第三實施例繪示的分散式同步方法流程圖。 圖4D是依據本發明第四實施例繪示的分散式同步方法流程圖。 圖5是依據本發明之一實施例繪示的同步裝置的資料平面及控制平面的示意圖。 圖6是依據圖2及圖3繪示的技術比較圖。 圖7是依據本發明之一實施例繪示的習知RJ45介面腳位表與本案RJ45介面腳位表的比較圖。 圖8是依據本發明之一實施例繪示的同步裝置的功能方塊圖。 圖9A是依據本發明之一實施例繪示的管理裝置的功能方塊圖。 圖9B是依據圖9A繪示的管理裝置的功能方塊圖。Figure 1A is a schematic diagram of a conventional frame switch. Figure 1B is a schematic diagram of a decentralized decomposition framework system. Figure 2 is a schematic diagram of a DDC system provided with a management switch. FIG. 3 is a schematic diagram of a distributed synchronization system according to an embodiment of the present invention. FIG. 4A is a flowchart of a distributed synchronization method according to the first embodiment of the present invention. FIG. 4B is a flowchart of a distributed synchronization method according to the second embodiment of the present invention. FIG. 4C is a flowchart of a distributed synchronization method according to the third embodiment of the present invention. FIG. 4D is a flowchart of a distributed synchronization method according to the fourth embodiment of the present invention. 5 is a schematic diagram of a data plane and a control plane of a synchronization apparatus according to an embodiment of the present invention. FIG. 6 is a technical comparison diagram according to FIGS. 2 and 3 . FIG. 7 is a comparison diagram of a conventional RJ45 interface pin table and the present RJ45 interface pin table according to an embodiment of the present invention. FIG. 8 is a functional block diagram of a synchronization apparatus according to an embodiment of the present invention. FIG. 9A is a functional block diagram of a management device according to an embodiment of the present invention. FIG. 9B is a functional block diagram of the management device shown in FIG. 9A .
300:分散式同步系統300: Decentralized Synchronization System
MM:管理裝置MM: management device
D1~DN:同步裝置D1~DN: Synchronization device
IM,I1~IN:網路輸入介面IM,I1~IN: Network input interface
OM,O1~ON:網路輸出介面OM,O1~ON: Network output interface
P1:PTP封包P1: PTP packet
S 0 ~S N :同步信號 S 0 ~ S N : Sync signal
C 0 ~C N :控制信號 C 0 ~ C N : Control signal
1PPS 0 ~1PPS N :1PPS信號1 PPS 0 ~1 PPS N : 1PPS signal
f 0 ~f N :頻率信號 f 0 ~ f N : frequency signal
ToD 0 ~ToD N :日時間資訊 ToD 0 ~ ToD N : Day time information
Claims (25)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109123928A TWI772843B (en) | 2020-07-15 | 2020-07-15 | Distributed synchronization system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109123928A TWI772843B (en) | 2020-07-15 | 2020-07-15 | Distributed synchronization system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202205105A true TW202205105A (en) | 2022-02-01 |
TWI772843B TWI772843B (en) | 2022-08-01 |
Family
ID=81323469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109123928A TWI772843B (en) | 2020-07-15 | 2020-07-15 | Distributed synchronization system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI772843B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8401123B2 (en) * | 2009-07-28 | 2013-03-19 | Broadcom Corporation | Method and system for increasing the accuracy of frequency offset estimation in multiple frequency hypothesis testing in an E-UTRA/LTE UE receiver |
US9813173B2 (en) * | 2014-10-06 | 2017-11-07 | Schweitzer Engineering Laboratories, Inc. | Time signal verification and distribution |
CA3045091A1 (en) * | 2016-11-29 | 2018-06-07 | Enabler Ltd. | Time synchronization system and transmission apparatus |
CN110581742B (en) * | 2018-06-08 | 2020-12-04 | 大唐移动通信设备有限公司 | Clock synchronization method, system and base station |
TWM605565U (en) * | 2020-07-15 | 2020-12-21 | 優達科技股份有限公司 | Distributed synchronization system |
-
2020
- 2020-07-15 TW TW109123928A patent/TWI772843B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI772843B (en) | 2022-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2009071029A1 (en) | Synchronization system and method of time information and related equipment | |
US8964790B2 (en) | Communication apparatus | |
CN102104476B (en) | Clock synchronization device and method | |
EP2130316B1 (en) | Synchronous network device | |
JP3698074B2 (en) | Network synchronization method, LSI, bus bridge, network device, and program | |
US20110305248A1 (en) | Clock selection for synchronous ethernet | |
CN102299788A (en) | Method and device for controlling automatic transmission of IEEE1558 (Institute of Electrical and Electronic Engineers 1558) protocol message | |
CN102916758B (en) | Ethernet time synchronism apparatus and the network equipment | |
EP2764644A1 (en) | Egress clock domain synchronization to multiple ingress clocks | |
TWM605565U (en) | Distributed synchronization system | |
RU2408995C2 (en) | System and method for synchronisation of packet network | |
CN113424466B (en) | Method and device for clock synchronization | |
US20190332139A1 (en) | Clocking Synchronization Method and Apparatus | |
US9641268B2 (en) | Method, system and device for synchronizing clocks | |
TWM612938U (en) | Distributed synchronization system | |
TWI772843B (en) | Distributed synchronization system | |
TWI769486B (en) | Distributed synchronization system | |
CN113302595A (en) | Multi-chip timing synchronization circuit and method | |
WO2022237238A1 (en) | Packet transmission method and apparatus, device, and storage medium | |
TWM618640U (en) | Distributed synchronization system | |
US20240259151A1 (en) | Distributed synchronization system | |
WO2017134533A1 (en) | Method and apparatus for network synchronization | |
CN114641952A (en) | System and method for nodes communicating using a time synchronized transport layer | |
TWM610675U (en) | Synchronization device | |
TWI795678B (en) | Synchronization device and synchronization method |