CN106899401B - Clock synchronization method of ten-gigabit synchronous Ethernet - Google Patents

Clock synchronization method of ten-gigabit synchronous Ethernet Download PDF

Info

Publication number
CN106899401B
CN106899401B CN201710072466.6A CN201710072466A CN106899401B CN 106899401 B CN106899401 B CN 106899401B CN 201710072466 A CN201710072466 A CN 201710072466A CN 106899401 B CN106899401 B CN 106899401B
Authority
CN
China
Prior art keywords
clock
pll
phy
gigabit ethernet
fpga
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.)
Active
Application number
CN201710072466.6A
Other languages
Chinese (zh)
Other versions
CN106899401A (en
Inventor
王洪清
黄玉宇
何建成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Hongxin Technology Development Co Ltd
Original Assignee
Wuhan Hongxin Technology Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Hongxin Technology Development Co Ltd filed Critical Wuhan Hongxin Technology Development Co Ltd
Priority to CN201710072466.6A priority Critical patent/CN106899401B/en
Publication of CN106899401A publication Critical patent/CN106899401A/en
Application granted granted Critical
Publication of CN106899401B publication Critical patent/CN106899401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • H04L7/0331Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop with a digital phase-locked loop [PLL] processing binary samples, e.g. add/subtract logic for correction of receiver clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0617Systems characterised by the synchronising information used the synchronising signal being characterised by the frequency or phase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a clock synchronization method of a trillion synchronous Ethernet, which comprises an upstream unit and a downstream unit and is characterized in that: the upstream unit and the downstream unit respectively comprise an FPGA, a gigabit Ethernet PHY and a PLL frequency synthesizer, and are connected through network cables; 2-level PLL is integrated in the PLL frequency synthesizer, the 1 st-level PLL is used for clock jitter removal, and the 2 nd-level PLL is used for frequency multiplication; when the PLL frequency synthesizer has no reference clock input, clock output is kept; the gigabit Ethernet PHY supports synchronous Ethernet and recovers a clock from a network cable; the gigabit Ethernet PHY and FPGA support a 10G BASE-KR interface. The technical scheme of the invention can realize the reliable transmission of the gigabit Ethernet, is suitable for the current infrastructure construction of China, has the significance of popularization and use and has important market value.

Description

Clock synchronization method of ten-gigabit synchronous Ethernet
Technical Field
The invention relates to a clock synchronization method of a gigabit synchronous Ethernet, which is mainly used in the field of communication.
Background
Under the condition of high-bandwidth data transmission, the gigabit Ethernet can not meet the requirement, and the gigabit Ethernet is required to be used for transmission. Generally, a gigabit ethernet transmits 10Gbps of data through an optical fiber, which is long in transmission distance but high in cost. For short distance transmission within 100m, the super 6 type network cable (CAT 6 e) transmission is used, and the cost can be reduced remarkably. Because the requirement for signal quality is high when the gigabit ethernet is transmitted through the network cable, the clock is an important factor influencing the signal. The traditional Ethernet transmission is asynchronous transmission, the transmission link clock is asynchronous, the signal quality is not good enough, and error codes are easy to occur.
Disclosure of Invention
The invention aims to provide a clock synchronization method of a gigabit synchronous Ethernet, which realizes the reliable transmission of the gigabit Ethernet.
The invention provides a clock synchronization method of a gigabit synchronous Ethernet, wherein the gigabit synchronous Ethernet comprises an upstream unit and a downstream unit, the upstream unit and the downstream unit respectively comprise an FPGA, a gigabit Ethernet PHY and a PLL frequency synthesizer, and the upstream unit and the downstream unit are connected through a network cable;
2-level PLL is integrated in the PLL frequency synthesizer, the 1 st-level PLL is used for clock jitter removal, and the 2 nd-level PLL is used for frequency multiplication;
when the PLL frequency synthesizer has no reference clock input, clock output is kept; the gigabit Ethernet PHY supports synchronous Ethernet and recovers a clock from a network cable; the gigabit Ethernet PHY and FPGA support a 10G BASE-KR interface.
The gigabit ethernet PHY of the upstream unit is set to master, and the gigabit ethernet PHY of the downstream unit is set to slave; after the upstream unit and the downstream unit are connected through a network cable, the gigabit Ethernet PHY of the downstream unit recovers a clock of the upstream unit, the recovered clock is used as a reference clock source of a PLL frequency synthesizer, and the PLL frequency synthesizer provides a reference clock input pin of the PHY and a 10G BASE-KR interface of the FPGA as a reference clock; when the upstream unit and the downstream unit are disconnected, the PLL frequency synthesizer keeps the clock output and provides a reference clock for a reference clock input pin of the PHY and a 10G BASE-KR interface of the FPGA.
In the upstream unit, a PLL frequency synthesizer takes 25MHz TCXO as reference, frequency is multiplied to 156.25MHz to output two paths of reference clocks, one path of clock is used as reference for a 10G BASE-KR interface of the FPGA, and the other path of clock is used as reference for a ten-gigabit Ethernet PHY; wherein, the 25MHz TCXO clock is directly sent to the 2 nd level PLL of the PLL frequency synthesizer for frequency multiplication, the 1 st level PLL does not use; after the FPGA finishes digital signal processing, data are transmitted and received between the FPGA and the gigabit Ethernet PHY through a 10GBASE-KR interface, the gigabit Ethernet PHY transmits and receives data on a network cable through a 10G BASE-T interface, meanwhile, the PHY of an upstream unit is set as a master, and the PHY transmits and receives data on the network cable through a reference clock 156.25MHz of the PHY.
In the downstream unit, the gigabit ethernet PHY is set to slave, and receives and transmits data through a network cable; the gigabit Ethernet PHY recovers a clock from the network cable and outputs a SYNCEOUT clock of 25 MHz; the SYNCEOUT clock is used as a reference for a PLL frequency synthesizer, is subjected to debounce by a level 1 PLL, is subjected to frequency multiplication by a level 2 PLL, and outputs two paths of 156.25MHz clocks, one path of clock is used as a reference clock for a gigabit Ethernet PHY, and the other path of clock is used as a reference clock for a 10G BASE-KR interface of the FPGA.
The invention has the beneficial effects that: the invention relates to a clock synchronization method of a gigabit synchronous Ethernet, which synchronizes a transmission link clock by using the synchronous Ethernet, introduces a clock jitter removal function, and improves the clock quality, thereby improving the signal quality and ensuring that the gigabit Ethernet is more reliable in transmission through a network cable. The technical scheme of the invention can realize the reliable transmission of the gigabit Ethernet, is suitable for the current infrastructure construction of China, has the significance of popularization and use and has important market value.
Drawings
FIG. 1 is a diagram of a gigabit Ethernet system connected by a network cable according to an embodiment of the present invention;
FIG. 2 is a diagram of a clock delivery scheme for an upstream unit according to an embodiment of the present invention;
FIG. 3 is a diagram of a clock delivery scheme for downstream units of an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying drawings and detailed description, in order to facilitate the understanding and implementation of the invention by those skilled in the art.
In the embodiment, the upstream unit and the downstream unit are connected through a category 6 super network (CAT 6 e), and both the upstream unit and the downstream unit are provided with an FPGA (field programmable gate array) and a gigabit ethernet PHY (physical layer interface chip), and a PLL (phase locked loop) frequency synthesizer. The FPGA is used for digital signal processing; the Ethernet PHY is used as a gigabit Ethernet transceiving interface and supports the synchronous Ethernet function; the PLL frequency synthesizer provides a reference clock for the FPGA and the PHY, a 2-level PLL is integrated in the PLL, the 1 st-level PLL can remove jitter of the clock, and the 2 nd-level PLL can complete clock frequency multiplication. The FPGA and the Ethernet PHY are connected through a high-speed serial interface 10GBASE-KR (10 GBase-KR is an on-board Ethernet interface, and the serial data rate is 10.3125 Gbps).
As shown in fig. 2, the present invention is a clock synchronization method for trillion synchronous ethernet, which is composed of an upstream unit and a downstream unit. The upstream unit and the downstream unit are respectively provided with an FPGA, a gigabit Ethernet PHY and a PLL frequency synthesizer. The FPGA and the PHY support a 10G BASE-KR interface, the PHY supports a synchronous Ethernet function, a 2-level PLL is arranged in the PLL frequency synthesizer, the 1 st level PLL has a clock jitter removal function and improves the phase noise of an input clock, the 2 nd level PLL is used for frequency multiplication, and when the input clock does not exist, an output clock can be kept. The upstream and downstream ten-gigabit ethernet PHY is set to loop timing (loop clock: the clock for transceiving data on the network wire comes from the master) mode.
The clock synchronization method of the ten-gigabit synchronous Ethernet has the following working principle:
the upstream unit PLL frequency synthesizer takes 25MHz TCXO (temperature compensated oscillator) as a reference, frequency is multiplied to 156.25MHz to output two paths of reference clocks, one path of clock is used as a reference for a 10G BASE-KR interface of the FPGA, and the other path of clock is used as a reference clock for the gigabit Ethernet PHY. Because the phase noise of the TCXO is better, the 25MHz TCXO clock is directly sent to the 2 nd level PLL of the PLL frequency synthesizer for frequency multiplication, and the 1 st level PLL is not used. After the FPGA finishes digital signal processing, data is transmitted and received between the FPGA and the gigabit PHY through a 10GBASE-KR interface, the gigabit Ethernet PHY transmits and receives data on a network line through a 10G BASE-T (the 10GBASE-T is connected by using a copper cable twisted pair, the effective bandwidth of a data layer is 10 Gbit/s), meanwhile, the PHY of an upstream unit is set as a master, and the PHY transmits and receives the data on the network line through a reference clock 156.25 MHz.
The downstream unit, the gigabit ethernet PHY, is set to slave, and transmits and receives data through the network cable. The PHY supports synchronous ethernet functionality, recovers the clock from the network line, and outputs a 25MHz SYNCEOUT clock. The SYNCEOUT clock is used as a reference for a PLL frequency synthesizer, is subjected to debounce by a level 1 PLL, is subjected to frequency multiplication by a level 2 PLL, and outputs two paths of 156.25MHz clocks, one path of clock is used as a reference clock for a gigabit Ethernet PHY, and the other path of clock is used as a reference clock for a 10G BASE-KR interface of the FPGA. Data are transmitted and received between the FPGA and the tera PHY through a 10GBASE-KR interface, and the clocks for transmitting and receiving the 10GBASE-KR high-speed serial data are homologous due to the homologous reference clocks. When no network cable is connected between upstream and downstream, the PLL frequency synthesizer has a clock holding function and can output a stable 156.25MHz clock; after the connection between the upstream unit and the downstream unit is established through the network cable, the 156.25MHz clock source output by the downstream PLL frequency synthesizer comes from the upstream 25MHz TCXO. Because the gigabit ethernet PHY is set to the loop timing mode, the upstream and downstream transmit-receive clocks are completely synchronized.
The above clock frequencies are used as examples, and other frequencies may be used as needed in specific implementations.
Preferably, the PLL frequency synthesizer is of the type AD9524BCPZ-REEL7, and the gigabit ethernet PHY is of the type: BCM84851, FPGA model: XC7K160T-2FFG 676I. In particular implementations, a person skilled in the art can select a particular model.
The above is a preferred embodiment of the present invention, but the present invention is not limited to the above embodiment, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and they are included in the scope of the present invention.

Claims (2)

1. A clock synchronization method of a gigabit synchronous Ethernet, wherein the gigabit synchronous Ethernet comprises an upstream unit and a downstream unit, and the method is characterized in that: for short-distance transmission within 100m, ultra-6 type network CAT6e is used for transmission, an upstream unit and a downstream unit respectively comprise an FPGA, a gigabit Ethernet PHY and a PLL frequency synthesizer, and the upstream unit and the downstream unit are connected through network cables; 2-level PLL is integrated in the PLL frequency synthesizer, the 1 st-level PLL is used for clock jitter removal, and the 2 nd-level PLL is used for frequency multiplication; when the PLL frequency synthesizer has no reference clock input, clock output is kept; the gigabit Ethernet PHY supports synchronous Ethernet and recovers a clock from a network cable; the gigabit Ethernet PHY and the FPGA support a 10G BASE-KR interface;
in the upstream unit, a PLL frequency synthesizer takes 25MHz TCXO as a reference, frequency is multiplied to 156.25MHz to output two paths of reference clocks, one path of clock is used as a reference for a 10G BASE-KR interface of the FPGA, and the other path of clock is used as a reference clock for a ten-gigabit Ethernet PHY; wherein, the 25MHz TCXO clock is directly sent to the 2 nd level PLL of the PLL frequency synthesizer for frequency multiplication, the 1 st level PLL does not use; after the FPGA finishes digital signal processing, data are transmitted and received between the FPGA and the gigabit Ethernet PHY through a 10GBASE-KR interface, the gigabit Ethernet PHY transmits and receives data on a network cable through a 10G BASE-T interface, meanwhile, the PHY of an upstream unit is set as a master, and the PHY transmits and receives the data on the network cable through a reference clock 156.25MHz of the PHY;
in a downstream unit, a gigabit Ethernet PHY is set as slave, and receives and transmits data through a network cable; the gigabit Ethernet PHY recovers a clock from the network cable and outputs a SYNCEOUT clock of 25 MHz; the SYNCEOUT clock is used as a reference for a PLL frequency synthesizer, is subjected to debounce by a level 1 PLL, is subjected to frequency multiplication by a level 2 PLL, and outputs two paths of 156.25MHz clocks, one path of clock is used as a reference clock for a gigabit Ethernet PHY, and the other path of clock is used as a reference clock for a 10G BASE-KR interface of the FPGA.
2. The clock synchronization method of ten-gigabit synchronous ethernet according to claim 1, wherein: setting the gigabit Ethernet PHY of the upstream unit as a master, and setting the gigabit Ethernet PHY of the downstream unit as a slave; after the upstream unit and the downstream unit are connected through a network cable, the gigabit Ethernet PHY of the downstream unit recovers a clock of the upstream unit, the recovered clock is used as a reference clock source of a PLL frequency synthesizer, and the PLL frequency synthesizer provides a reference clock input pin of the PHY and a 10G BASE-KR interface of the FPGA as a reference clock; when the upstream unit and the downstream unit are disconnected, the PLL frequency synthesizer keeps clock output and provides a reference clock for a reference clock input pin of the PHY and a 10G BASE-KR interface of the FPGA;
the PLL frequency synthesizer is AD9524BCPZ-REEL7 in model, the gigabit Ethernet PHY is BCM84851 in model, and the FPGA is XC7K160T-2FFG676I in model.
CN201710072466.6A 2017-02-10 2017-02-10 Clock synchronization method of ten-gigabit synchronous Ethernet Active CN106899401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710072466.6A CN106899401B (en) 2017-02-10 2017-02-10 Clock synchronization method of ten-gigabit synchronous Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710072466.6A CN106899401B (en) 2017-02-10 2017-02-10 Clock synchronization method of ten-gigabit synchronous Ethernet

Publications (2)

Publication Number Publication Date
CN106899401A CN106899401A (en) 2017-06-27
CN106899401B true CN106899401B (en) 2020-11-17

Family

ID=59198840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710072466.6A Active CN106899401B (en) 2017-02-10 2017-02-10 Clock synchronization method of ten-gigabit synchronous Ethernet

Country Status (1)

Country Link
CN (1) CN106899401B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445330A (en) * 2018-10-22 2019-03-08 西安微电子技术研究所 A kind of 10,000,000,000 high precision clock synchronous exchange modules and exchange method based on optical interface

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634637A (en) * 2015-12-22 2016-06-01 大唐电信(成都)信息技术有限公司 PTP and SYNC-E fused time-frequency synchronization method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6819187B1 (en) * 2002-07-12 2004-11-16 Marvell International Ltd. Limit swing charge pump and method thereof
CN100379306C (en) * 2006-02-22 2008-04-02 华为技术有限公司 Interface device for connecting dominant base and RRU
CN101005349B (en) * 2007-01-09 2010-05-19 华为技术有限公司 Clock synchronizing method and system
CN101431795B (en) * 2008-11-29 2012-10-10 中兴通讯股份有限公司 Time synchronization method and apparatus
CN102082653B (en) * 2009-11-26 2013-07-03 中兴通讯股份有限公司 Method, system and device for clock synchronization
CN103812592B (en) * 2014-02-13 2016-07-13 南京航空航天大学 Time synchronization protocol system and synchronous method based on chain EPA

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634637A (en) * 2015-12-22 2016-06-01 大唐电信(成都)信息技术有限公司 PTP and SYNC-E fused time-frequency synchronization method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
双环路时钟发生器AD9524_cn;gerouwang;《百度文库》;20141029;第1,20-21页 *

Also Published As

Publication number Publication date
CN106899401A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
EP1388975B1 (en) System and method for data transition control in a multirate communication system
US6430695B1 (en) Network transceiver having circuitry for referencing transmit data to a selected input clock
US4554673A (en) Sequential data transmission system with resynchronization
US10146722B1 (en) Method and apparatus for operating of a PCIe retimer over optical cable
US20100014566A1 (en) Method and apparatus for a 10gbase-t small form factor pluggable (sfp+) module
CN102812448A (en) Multi-protocol multiple-data-rate auto-speed negotiation architecture for a device
CN110032262B (en) High-speed digital transceiver system power-on configuration method based on JESD204B interface
CN103138866B (en) A kind of SFP electricity mouth Apparatus and system of clock synchronous
CN111475460B (en) NoC-based high-speed data acquisition system and upper computer communication interface controller
CN106899401B (en) Clock synchronization method of ten-gigabit synchronous Ethernet
CN109525511B (en) Ten-gigabit Ethernet PCS system based on rate matching and control method
US9461813B2 (en) Optical data interface with electrical forwarded clock
CN101931482A (en) Clock synchronization method and system of convergent type video optical transmitter and receiver
WO2023197549A1 (en) Signal processing devices, systems and method, and signal transmission subsystem and system
CN102412923B (en) A kind of method that realizes clock synchronous between OLT and ONU in EPON system
CN108111224B (en) A kind of asynchronous fiber optic communication method, apparatus and network
CN101132337A (en) 2M loop circuit network system based on E1 transmission
US8892793B1 (en) Techniques for oversampling a data stream in an integrated circuit
US9042737B2 (en) Clock and data recovery unit and power control method therefor and PON system
KR101416701B1 (en) High speed transceiver system using 1 core gigabit ethernet cable
Zhao et al. Design and Implementation of High Speed Serial Interface Based on GTY
CN105138070B (en) Clock circuit for FPGA verification platforms
CN102510484A (en) Video optical transceiver, and video transmission system and method
CN115065436B (en) Clock shunt multiplexing circuit special for electric power
CN219227609U (en) JESD204B data transmission system based on optical fiber medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201028

Address after: 430205 No.1 tanhu 2nd Road, Canglong Island, Jiangxia Economic Development Zone, Wuhan City, Hubei Province

Applicant after: Wuhan Hongxin Technology Development Co.,Ltd.

Address before: 430073 Hubei province Wuhan Dongxin East Lake high tech Development Zone, Road No. 5

Applicant before: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant