CN101431385B - Frequency and time synchronization method for passive optical network - Google Patents

Frequency and time synchronization method for passive optical network Download PDF

Info

Publication number
CN101431385B
CN101431385B CN 200810142096 CN200810142096A CN101431385B CN 101431385 B CN101431385 B CN 101431385B CN 200810142096 CN200810142096 CN 200810142096 CN 200810142096 A CN200810142096 A CN 200810142096A CN 101431385 B CN101431385 B CN 101431385B
Authority
CN
China
Prior art keywords
time
optical network
network unit
line terminal
optical
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
CN 200810142096
Other languages
Chinese (zh)
Other versions
CN101431385A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200810142096 priority Critical patent/CN101431385B/en
Publication of CN101431385A publication Critical patent/CN101431385A/en
Application granted granted Critical
Publication of CN101431385B publication Critical patent/CN101431385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0088Signalling aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a method for synchronizing frequency and time of a passive optical network. The method comprises the following steps: an optical line terminal periodically transmits a protocol message with a time stamp to an optical network unit, dynamically measures range information used for maintaining the passive optical network, and acquires time deviation between the optical line terminal and the optical network unit in real time; real-time and dynamic compensation for the time deviation is carried out on the optical network unit, so that the frequency and the time of the optical network unit is synchronized to the optical line terminal. As the range information of the passive optical network is utilized, IEEE1588 protocol is combined, synchronous transfer of time and frequency between devices on the passive optical network can be realized so as to ensure that the optical network unit is accurately synchronized to the optical light terminal on frequency and time, and each optical network unit has the same frequency and time.

Description

A kind of EPON medium frequency and the method for synchronous of time
Technical field
The present invention relates to a kind of EPON method for synchronous in the field of wireless communications, relate in particular to a kind of EPON medium frequency and the method for synchronous of time.
Background technology
Passive optical network PON (Passive Optical Network) technology is the optical fiber access technology of a kind of point to multiple spot; It is by optical line terminal OLT (the Optical Line Terminal of office's net side; Optical line terminal), the optical network unit ONU of user side (Optical Network Unit; Optical network unit) and Optical Distribution Network ODN (Optical Distribution Network, Optical Distribution Network) form.
EPON has polytype, roughly can be divided into wavelength-division PON, power P ON and these the two kinds mixing PON that mutually combine, and wherein the agreement because of link layer is different again for power P ON, is divided into APON, GPON and EPON.
With power P ON is example; Its descending general employing time division multiplexing and multiplexer TDM (Time Division Multiplex and Multiplexer) broadcast mode; And up general employing time division multiple access TDMA (Time Division Multiple Access) access way; And can form various topological structures such as tree type, star-like and bus-type neatly, most typical structure is a tree structure.
The so-called PON that mixes be meant in an Optical Distribution Network ODN to have a plurality of power P ON simultaneously, and the wavelength that these power P ON is adopted is all inequality.
Passive optical network PON also can be used as the bearer network that inserts section, and Fig. 1 is exactly the typical networking of passive optical network PON in mobile communication, and passive optical network PON need be accomplished the transmission of two tasks: the transmission of Business Stream; The transmission of clock synchronization gives the transmission and the method for salary distribution of clock stream among Fig. 1.
Yet; Itself has only realized Frequency Synchronization the passive optical network PON procotol; It is the optical line terminal OLT of the optical network unit ONU office of the being synchronized with net side of user side; But because the phase difference of the optical network unit ONU of each user side is arbitrarily, promptly the passive optical network PON procotol can't be supported time synchronized between the two, so also just can't satisfy mobile communication or the free network that requires synchronously.
The simultaneous techniques of EPON includes two aspect implications in the communication system this moment, i.e. frequency and time two parts:
A, frequency: when Frequency Synchronization is meant in the EPON processing signals such as transmission, exchange for avoiding slip required Frequency Synchronization separately.So-called slip refers to; When the clock rate difference of two digital local exchange installations surpasses certain numerical value in the digital network; Make to receive the buffer storage reading and writing clock generating speed difference of signal switcher, when this difference surpasses a certain set point, will cause the error code or the step-out that receive digital stream;
B, time: time synchronized is meant that the clock of equipment in the EPON and World clock are harmonious, also claims Phase synchronization.
Communication network is to all have a requirement between the communication system synchronously generally speaking, and particularly between the wireless device, the wireless technology that following table has been listed various wireless devices is to clock frequency and synchronous specific requirement of time:
Wireless technology The Clock Frequency Accuracy requirement The time synchronized requirement
GSM 0.05ppm NA
WCDMA 0.05ppm NA
CDMA2000 0.05ppm 3us
TD-SCDMA 0.05ppm 1.5us
WiMax 0.05ppm 1us
LTE 0.05ppm Tend to adopt time synchronized
How to guarantee in EPON that frequency and time between the various wireless devices are synchronous,, just become to press at present the problem of solution to satisfy the network that mobile communication or free synchronous condition require.
Therefore, prior art still haves much room for improvement and develops.
Summary of the invention
The problem that the present invention will solve is, a kind of EPON medium frequency and the method for synchronous of time are provided, with solve in EPON, can not guarantee ONU frequency and on the time precise synchronization in the problem of OLT.
Technical scheme of the present invention is following:
A kind of EPON medium frequency and the method for synchronous of time may further comprise the steps:
A, optical line terminal periodically send the ranging information between that the protocol massages that has timestamp and optical line terminal kinetic measurement obtain and the optical network unit to optical network unit, obtain the time deviation between said optical line terminal and the said optical network unit in real time through the Time Calculation to said protocol massages;
B, the enterprising line time deviation of said optical network unit in real time, dynamic compensation, make said light
The frequency and the time of NE are synchronized with optical line terminal;
And, further comprising the steps of:
Before C, the said steps A, the IEEE1588 clock synchronization protocol of operation standard makes the frequency of said optical line terminal and time be synchronized with said higher level equipment between said optical line terminal and higher level equipment that it is connected; And/or after the said step B, IEEE1588 clock synchronization protocol of operation standard between the following attached device that said optical network unit is connected with it makes the said frequency and the time of attached device down be synchronized with said optical network unit.
Described method for synchronous, wherein, said steps A specifically also comprises:
Local T1 constantly when A1, said optical line terminal will send protocol massages first bit is inserted in the timestamp territory of the protocol massages that sends;
Local T2 constantly when A2, last bit of the said protocol massages of said optical network unit recorder;
A3, said optical line terminal are calculated in real time and are worth two-way time between itself and the said optical network unit RTT as said ranging information and send to said optical network unit;
A4, said optical network unit calculate the time deviation value Offset between said optical line terminal and the said optical network unit:
Offset=T2-T1-RTT/2。
Described method for synchronous, wherein, said steps A 3 specifically also comprises:
A31, the said optical line terminal local echoing time T of measurement ResponseT when sending distance measuring signal this locality for it 0T during to its receiving feedback signals this locality 2Time difference (t 2-t 0);
A32, the local stand-by period T of the said optical network unit of measurement WaitT during local when receiving the distance measuring signal that said optical line terminal sends for it 0T during local during the feedback signal of sending said distance measuring signal to it 1Time difference (t 1-t 0);
Be worth RTT the two-way time between A33, the said optical line terminal of definition and the said optical network unit is up time T UpstreamWith downgoing time T DownstreamSum equals said optical line terminal local echoing time T ResponseWith the local stand-by period T of said optical network unit WaitPoor:
RTT=T downstream+T upstream
=T response-T wait
=(t 2-t 0)-(t 1-t 0)
=t 2-t 1
Described method for synchronous, wherein, said step C specifically also comprises:
C1, said higher level equipment send the protocol massages that has timestamp to said optical line terminal constantly at the T1` of local zone time, and said optical line terminal receives this protocol massages constantly at the T2` of local zone time; And/or said optical network unit sends the protocol massages that has timestamp to said attached device down constantly at the T1` of local zone time, and said attached device down receives this protocol massages constantly at the T2` of local zone time;
C2, said higher level equipment send tracking message to said optical line terminal; And/or said attached device is down sent tracking message to said optical network unit;
Constantly to said higher level equipment transmission lag request message, said higher level equipment is answered message to said optical line terminal feedback delay constantly at the T4` of local zone time at the T3` of local zone time for C3, said optical line terminal; And/or said down attached device at the T3` of local zone time constantly to said optical network unit transmission lag request message, said optical network unit is answered message to said attached device feedback delay down constantly at the T4` of local zone time;
C4, calculate between said optical line terminal and its higher level equipment and/or said optical network unit and its time deviation value Offset` between attached device down:
Offset`=(T2`-T1`+T3`-T4`)/2。
Described method for synchronous, wherein, step C specifically also comprises:
C5, periodically sending protocol massages message down between the attached device between said optical line terminal and its higher level equipment and/or at said optical network unit and its, dynamically, the real-time update time deviation;
C6, said optical line terminal and/or the said down enterprising line time deviation of attached device dynamically, real-Time Compensation.
Described method for synchronous wherein, uses hardware to receive and dispatch when transmitting said protocol massages that has a timestamp or said ranging information.
Described method for synchronous; Wherein, in following style interface, use field programmable gate array hardware or application-specific integrated circuit (ASIC) hardware to carry out extraction, insertion, transmission or the reception of said protocol massages: the first line of a couplet Uplink interface of optical line terminal or the uni interface of optical network unit.
Described method for synchronous wherein, adopts the phase locked algorithm of CPU, according to the output of corresponding time deviation control figure phase-locked loop, and needed system clock of generation system and control signal.
Described method for synchronous; Wherein, said optical line terminal sends said ranging information for said optical network unit through the physical layer operations management maintenance PLOAM message of gigabit passive optical network or the ethernet operation management maintenance Ethernet OAM message of Ethernet passive optical network.
A kind of EPON medium frequency provided by the present invention and the method for synchronous of time; Owing to utilized the distinctive ranging information of passive optical network PON network; The IEEE1588 clock synchronization protocol of combined standard; Avoided the asymmetric property of passive optical network PON network; Realized that in the synchronous transmission of time and frequency between the equipment at different levels on the passive optical network PON network precise synchronization is in optical line terminal OLT in frequency with on the time to have guaranteed optical network unit ONU, and each optical network unit ONU has identical frequency and time; And; The IEEE1588 clock synchronization protocol of operation standard between optical network unit ONU and its subordinate equipment; Optical network unit ONU can also pass to subordinate equipment to frequency and time accurately, between the equipment that has guaranteed to connect under each optical network unit ONU identical frequency and time is arranged also.
Description of drawings
Fig. 1 is networking and the clock transitive graph of the PON of the inventive method at moving communicating field;
Fig. 2 is the IEEE1588 agreement realization mechanism figure of the inventive method;
Fig. 3 is the mechanism figure that realizes frequency and time precise synchronization between PON network OLT and the ONU of the inventive method;
Fig. 4 is the range finding mechanism figure of the OLT of EPON system of the inventive method to ONU;
Fig. 5 is that a specific embodiment of the inventive method is realized sketch map.
Embodiment
Accompanying drawing shown in below will combining specifies the embodiment of EPON medium frequency of the present invention and the method for synchronous of time.
EPON medium frequency of the present invention and the method for synchronous of time; Main core point is embodied in the method that the ranging information that adopted IEEE1588 clock synchronization protocol and PON EPON combines; Known by prior art as for technology such as IEEE1588 protocol contents, repeated no more at this.
Embodiment of the present invention is based on mobile communications network or frequency is arranged and the synchronous network that requires of time, adopts IEEE1588 agreement realization frequency and time synchronous between the peer-to-peer network internal unit wherein:
1) hypothesis of characteristic symmetry Network Based adopts master-slave mode, stabs mark at the enterprising line time of sync packet Packet, the cycle clock issue, and the recipient carries out clock skew and measures and delay measurements;
2) point-to-point link can provide the highest precision, introduces boundary clock, and is as shown in Figure 1, irrelevant with delay and jitter, reaches every jumping 10ns level time accuracy.
Its mechanism is as shown in Figure 2:
A) time deviation between supposition Master (main equipment) and the Slave (slave unit) is Offset`;
B) Master equipment sends the sync packet Packet that is with timestamp to Slave equipment constantly at its local T1`, and Slave equipment receives sync message constantly at its local T2`,
Set up following equation thus:
T2`=T1`+Delay`+Offset`-------------------(1),
Wherein Delay` is the propagation delay time of sync message from Master to Slave equipment;
C) Master equipment sends to Slave equipment and follows the tracks of Follow_up message;
D) Slave equipment at local T3` constantly to Master equipment transmission lag request Delay_Req message;
E) Master equipment is answered Delay_Resp message to Slave equipment transmission lag constantly at its local T4`,
Set up following equation thus:
T4`=T3`+Delay`-Offset`-------------------(2);
F) associating equation (1) and (2) can be obtained the Offset` value:
Offset`=(T2`-T1`+T3`-T4`)/2------------------(3);
G) periodically between Master equipment and Slave equipment, send: sync message Sync, tracking Follow_up, delay request Delay_Req and delayed response Delay_Resp message;, real-time update Offset` value dynamic with regard to ability, thus keep Slave equipment on time and frequency, to be synchronized with Master equipment;
H), obtain the time accuracy of 10ns level between Master equipment and the Slave equipment in dynamic, the real-Time Compensation of the enterprising line time deviation of Slave equipment Offset`.
Can know that from the description of front the IEEE1588 agreement is based on the hypothesis of network characteristic symmetry, promptly supposes the delay and jitter from Master equipment to Salve equipment, identical with delay and jitter from Slave equipment to Master equipment.Yet the PON network is not owing to following reason is not a peer-to-peer network, and at up direction big jittering component arranged, and the cycle that for example new ONU finds and registration is introduced windows, and causes the ONU upstream data to send and is postponed; And for example roll off the production line on the ONU and introduce the change of ONU uplink time slot position.At this moment, just can not be between the OLT and ONU of PON network, by operation IEEE1588 agreement guarantee ONU frequency and on the time precise synchronization in OLT.
General introduction in theory, the inventive method comprises following three big steps:
One, the IEEE1588 agreement of operation standard between the optical line terminal OLT (being called for short OLT among this paper) of office net side and its higher level equipment guarantees the OLT frequency and is synchronized with higher level's network equipment on the time;
Two, operation core methed of the present invention between OLT and ONU, promptly OLT sends synchronization message to ONU, utilizes the ranging information of the ONU of PON network operation, just can obtain ONU with the time deviation Offset between the OLT; OLT periodically sends synchronization message to ONU, and cooperation OLT dynamically measures the distance of ONU, just can obtain the time deviation Offset of ONU and OLT dynamically, in real time; If in dynamic, the real-time compensation of the enterprising line time deviation of ONU Offset, just can realize that ONU frequency and time precise synchronization are in OLT;
Three, in the optical network unit ONU (being called for short ONU among this paper) of user side and its IEEE1588 agreement of operation standard between attached device down, just can guarantee down that precise synchronization is in ONU on attached device frequency and time.
Through three above big steps, can and and be synchronized with a source synchronously accurately on the time in frequency between ONU and the following attached device, promptly OLT can track the most top time source.
Specifically, referring to Fig. 3, the performing step of PON network medium frequency according to the invention and time synchronization mechanism is following:
1, the clock synchronization IEEE1588 agreement of operation standard between OLT and coupled higher level's network equipment 301; Higher level's network equipment 301 operates in the Master pattern; OLT operates in the Slave pattern, guarantee OLT frequency and on the time precise synchronization in higher level equipment:
A) time difference between supposition " higher level equipment " and the OLT is Offset`;
B) " higher level equipment " sends the sync message of being with timestamp, OLT to OLT constantly at its local T1`
Receive sync message constantly at its local T2`, set up following equation:
T2`=T1`+Delay`+Offset`-------------------(1),
Wherein Delay` is that the propagation delay time of sync message from " higher level equipment " to OLT is slow;
C) " higher level equipment " sends to OLT and follows the tracks of Follow_up message;
D) OLT at local T3` constantly to " higher level equipment " transmission lag request Delay_Req message;
E) " higher level equipment " answered Delay_Resp message to the OLT transmission lag constantly at its local T4`, sets up following equation:
T4`=T3`+Delay`-Offset`-----------------(2);
F) associating equation (1) and (2) is obtained the Offset` value:
Offset`=(T2`-T1`+T3`-T4`)/2------------------(3);
G) periodically between " higher level equipment " and OLT, send: sync message Sync, tracking Follow_up, delay request Delay_Req and delayed response Delay_Resp message, just dynamic, the real-time update Offset` value of ability;
H) OLT carry out time deviation Offset` dynamically, real-Time Compensation, just can realize that OLT is synchronized with " higher level equipment " in frequency and on the time.
At this moment, if OLT connects two " higher level equipments " simultaneously, just can realize the active and standby of clock source, the reliability of network is provided, the selection in master/backup clock source realizes according to the IEEE15888 agreement.
2, belong to asymmetrical network between OLT and the ONU, do not move the IEEE1588 agreement of standard, OLT is operated in the Master pattern of clock, and ONU operates in the Slave pattern, through following method guarantee ONU frequency and on the time precise synchronization in OLT:
A) time difference of OLT and ONU is defined as Offset;
B) OLT sends the sync message Sync that is with timestamp to ONU constantly at its local T1, and ONU receives sync message Sync constantly at its local T2, sets up following equation:
T2=T1+Delay+Offset------------------(1),
Wherein Delay is that the propagation delay time of sync message Sync from OLT to ONU is slow;
C) OLT dynamically finds range to ONU, obtains the round distance R TT value between ONU and the OLT:
Delay=RTT/2---------------------------(2);
OLT and ONU distance R TT value test process and mechanism are as shown in Figure 4 in the EPON system, just the computational process of RTT value:
Set OLT response time T ResponseT when sending distance measuring signal for it is local 0T during to receiving feedback signals 2Time difference (t 2-t 0), ONU stand-by period T WaitT during local when receiving the distance measuring signal that OLT sends for it 0T during local when sending the feedback signal to distance measuring signal to it 1Time difference (t 1-t 0), both local zone time t when wherein OLT dynamically finds range to ONU 0Be made as identically, also be t during local when promptly ONU is provided with it and receives distance measuring signal that OLT sends 0Hence one can see that, and OLT is to the downgoing time T of ONU DownstreamWith the up time T of ONU to OLT UpstreamSum is OLT response time T for coming and going distance R TT value ResponseWith ONU stand-by period T WaitPoor:
RTT=T downstream+T upstream
=T response-T wait
=(t 2-t 0)-(t 1-t 0)
=t 2-t 1
In addition, the round distance R TT value between ONU and the OLT also can adopt identical range measurement principle in the GPON system;
D) associating equation (1) and (2) can be obtained the Offset value:
Offset=T2-T1-Rtt/2-----------------------(3);
E) OLT periodically sends sync message Sync message to ONU, the RTT value between itself and ONU of OLT real time dynamic measurement simultaneously, and issue ONU, and ONU just can dynamic, real-time update Offset value;
F) in dynamic, the real-Time Compensation of the enterprising line time deviation of ONU Offset, just can realize that ONU is synchronized with OLT in frequency and on the time;
G) each ONU is synchronized with OLT, has just realized the precise synchronization of frequency and time between each ONU.
3, operation standard IEEE 1588 agreements between ONU and coupled " the following attached device " that connects; " following attached device " can frequency and on the time precise synchronization in ONU; At moving communicating field " following attached device " is exactly the base station 302 among Fig. 3; Step process between the identical OLT of the process of this step and the coupled higher level's network equipment 301 no longer repeats here.
In order to guarantee time precision; The protocol massages of passing time is is all received and dispatched with hardware; Fig. 5 gives concrete realization instance of the present invention; The first line of a couplet Uplink interface from the OLT and the application of PON interface on PON interface and the ONU and the several different aspects of uni interface respectively below is according to down direction and up direction explanation PON network medium frequency and the method for synchronous of time.
One) the last first line of a couplet Uplink interface of OLT or the realization of PON interface:
1) realization of Uplink interface:
Between last connecting port physical layer PHY (Physical Layer) and MAC sublayer MAC (Media Access Control); Insert application-specific integrated circuit (ASIC) (hereinafter to be referred as the ASIC) chip of a slice field programmable gate array (hereinafter to be referred as FPGA) or identical function; Be used for the extraction and the insertion of IEEE1588 protocol massages; So-called physical layer refers to, the bottom of the interconnected OSI of open system (Open System Interconnection) architecture;
Down direction: the message of receiving from the UP-link port; FPGA analyzes whether it is the IEEE1588 protocol package; If protocol massages then extracts the timestamp that comprises in this protocol massages, and write down the moment that last bit of this protocol massages BIT arrives and be the local moment of receiving this message; If not the IEEE1588 protocol massages, then give follow-up medium access control MAC (Media Access Control) this message or the exchange chip of master control borad is done further processing;
Up direction: the IEEE1588 protocol package of sending here from CPU; Write in the FPGA; Send by FPGA; And the timestamp that protocol package is carried is inserted when sending this message by hardware, insertion be the local zone time of this message when sending, send promptly that the timestamp territory begins bit BIT local zone time constantly in the message; FPGA also is responsible for the transmission from the exchange chip packet of coupled ethernet mac that connects or master control borad;
Time difference Offset between OLT and " higher level equipment " is realized by FPGA hardware, supplies CPU to read;
Adopt the phase locked algorithm of CPU, control the output of OLT system digits phase-locked loop, the system clock that the generation system needs, and control signals such as 8K and 1S pulse according to Offset;
Because cycle of IEEE1588 protocol massages sends and receives, the time difference Offset between OLT and " higher level equipment " also is in real time, dynamically updates, assurance OLT frequency and on the time precise synchronization in " higher level equipment ".
2) realization of PON interface:
PON MAC realize IEEE1588 protocol sync message Sync message transmission and with the kinetic measurement of ONU distance;
CPU writes PON MAC to the IEEE1588 protocol massages, and MAC is responsible for sending to ONU to message from the PON interface, when transmitting time is stabbed the territory first bit BIT, is inserted into sync message to the OLT local zone time;
OLT according to the PON agreement to ONU carry out in real time, dynamic distance test; Measure RTT two-way time between OLT and the ONU; And send to ONU in real time; At this moment, OLT sends the selection that the RTT value can have dual mode to ONU: a kind of mode is that GPON (gigabit passive optical network) sends to ONU to the RTT value through PLOAM (physical layer operations management maintenance) Message Real Time, and this PLOAM message can be defined as as follows:
Figure GSB00000514572800121
Another kind of mode is that EPON (Ethernet passive optical network) sends to ONU to the RTT value through Ethernet OAM (ethernet operation management maintenance) Message Real Time;
Two) realization of last PON interface of ONU or uni interface:
1) realization of PON interface:
PON MAC realizes the reception of IEEE1588 protocol sync message Sync message and the reception of RTT value message;
Down direction: the message of receiving from the PON interface; PON MAC analyzes whether it is the IEEE1588 protocol sync message; If sync message; Then extract the timestamp that comprises in this agreement newspaper, and write down the moment that last bit of this protocol massages BIT arrives, the moment of receiving this message for this locality; If not the IEEE1588 protocol massages, then give follow-up functional module this message and further handle;
Down direction: the RTT value message from the PON mouth is received, be received, extract the RTT value;
According to the RTT value, in the moment that the timestamp that sync message Sync carries and protocol massages arrive, calculate the time difference Offset between ONU and the OLT, and realize the calculating of Offset supplying CPU to read by hardware;
Adopt the phase locked algorithm of CPU; Control the output of ONU system digits phase-locked loop according to Offset; The system clock that the generation system needs; And control signals such as 8K and 1S pulse, being used for ONU system use itself or giving " following attached device " like the base station use, the base station just can obtain the pulse per second (PPS) from ONU; And this pulse per second (PPS) also possibly be modulated at certain overhead-bits BIT of time division multiplexing tdm (Time Division Multiplex) interface;
OLT periodically sends synchronization message and RTT value to ONU, comprises clock frequency and time, guarantees that the ONU precise synchronization is in OLT.
2) realization of uni interface:
Between the PHY of uni interface and the MAC of exchange chip; Go up the Uplink interface as OLT; Rely on the asic chip of a slice FPGA or identical function, realize that IEEE1588 synchronous protocol message receives and sends, realization and ONU " following attached device " are like operation IEEE1588 agreement between the base station;
Up direction: the message of receiving from uni port; FPGA analyzes whether it is the IEEE1588 protocol package, if protocol massages then extracts the timestamp that comprises in this protocol massages; And write down the moment that last bit of this protocol massages BIT arrives, the moment of receiving this message for this locality; If not the IEEE1588 protocol massages, then give follow-up MAC this message or the exchange chip on the ONU is done further processing;
Down direction: the IEEE1588 protocol package of sending here from CPU; Write in the FPGA; And send by FPGA; And the timestamp that protocol package is carried is inserted when sending this message by hardware, insertion be the local zone time of this message when sending, promptly send first bit BIT local zone time constantly in timestamp territory in the message; FPGA also is responsible for sending from the packet of the exchange chip of coupled ethernet mac that connects or master control borad;
Through operation IEEE1588 agreement on the uni interface, ONU and its " following attached device " are as realizing frequency and the precise synchronization of time between the base station.
Above embodiment can adopt existing various possible schemes in the technology such as synchronous of APON, GPON and/or EPON system medium frequency and time according to practical application, is well known to those skilled in the art, and also repeats no more at this.
In the embodiment of EPON medium frequency of the present invention and the method for synchronous of time; Owing to utilized the distinctive ranging information of PON network; The IEEE1588 agreement of combined standard; Avoided the asymmetric property of PON network, realized having guaranteed that in the synchronous transmission of time and frequency between the equipment at different levels on the PON network each ONU has identical frequency and time; And, the IEEE1588 agreement of operation standard between ONU and its subordinate equipment, ONU can also pass to subordinate equipment to frequency and time accurately, between the equipment that has guaranteed to connect under each ONU identical frequency and time is arranged also.
Should be understood that; Concerning those of ordinary skills; Can improve according to the explanation of such scheme or conversion; For example be used between other layer of OSI and APON, GPON and/or EPON system medium, and all these improve and conversion all should belong to the protection range of accompanying claims of the present invention.

Claims (9)

1. EPON medium frequency and the method for synchronous of time may further comprise the steps:
A, optical line terminal periodically send the ranging information between that the protocol massages that has timestamp and optical line terminal kinetic measurement obtain and the optical network unit to optical network unit, obtain the time deviation between said optical line terminal and the said optical network unit in real time through the Time Calculation to said protocol massages;
B, the enterprising line time deviation of said optical network unit in real time, dynamic compensation, make the frequency of said optical network unit and time be synchronized with optical line terminal;
And, further comprising the steps of:
Before C, the said steps A, the IEEE1588 clock synchronization protocol of operation standard makes the frequency of said optical line terminal and time be synchronized with said higher level equipment between said optical line terminal and higher level equipment that it is connected; And/or after the said step B, IEEE1588 clock synchronization protocol of operation standard between the following attached device that said optical network unit is connected with it makes the said frequency and the time of attached device down be synchronized with said optical network unit.
2. method for synchronous according to claim 1 is characterized in that, said steps A specifically also comprises:
Local T1 constantly when A1, said optical line terminal will send protocol massages first bit is inserted in the timestamp territory of the protocol massages that sends;
Local T2 constantly when A2, last bit of the said protocol massages of said optical network unit recorder;
A3, said optical line terminal are calculated in real time and are worth two-way time between itself and the said optical network unit RTT as said ranging information and send to said optical network unit;
A4, said optical network unit calculate the time deviation value Offset between said optical line terminal and the said optical network unit:
Offset=T2-T?1-RTT/2。
3. method for synchronous according to claim 2 is characterized in that, said steps A 3 specifically also comprises:
A31, the said optical line terminal local echoing time T of measurement ResponseT when sending distance measuring signal this locality for it 0T during to its receiving feedback signals this locality 2Time difference (t 2-t 0);
A32, the local stand-by period T of the said optical network unit of measurement WaitT during local when receiving the distance measuring signal that said optical line terminal sends for it 0T during local during the feedback signal of sending said distance measuring signal to it 1Time difference (t 1-t 0);
Be worth RTT the two-way time between A33, the said optical line terminal of definition and the said optical network unit is up time T UpstreamWith downgoing time T DownstreamSum equals said optical line terminal local echoing time T ResponseWith the local stand-by period T of said optical network unit WaitPoor:
RTT=T downstream+T upstream
=T response-T wait
=(t 2-t 0)-(t 1-t 0)
=t 2-t 1
4. method for synchronous according to claim 1 is characterized in that, said step C specifically also comprises:
C1, said higher level equipment send the protocol massages that has timestamp to said optical line terminal constantly at the T1` of local zone time, and said optical line terminal receives this protocol massages constantly at the T2` of local zone time; And/or said optical network unit sends the protocol massages that has timestamp to said attached device down constantly at the T1` of local zone time, and said attached device down receives this protocol massages constantly at the T2` of local zone time;
C2, said higher level equipment send tracking message to said optical line terminal; And/or said attached device is down sent tracking message to said optical network unit;
Constantly to said higher level equipment transmission lag request message, said higher level equipment is answered message to said optical line terminal feedback delay constantly at the T4` of local zone time at the T3` of local zone time for C3, said optical line terminal; And/or said down attached device at the T3` of local zone time constantly to said optical network unit transmission lag request message, said optical network unit is answered message to said attached device feedback delay down constantly at the T4` of local zone time;
C4, calculate between said optical line terminal and its higher level equipment and/or said optical network unit and its time deviation value Offset` between attached device down:
Offset`=(T2`-T1`+T3`-T4`)/2。
5. method for synchronous according to claim 1 is characterized in that step C specifically also comprises:
C5, periodically sending protocol massages message down between the attached device between said optical line terminal and its higher level equipment and/or at said optical network unit and its, dynamically, the real-time update time deviation;
C6, said optical line terminal and/or the said down enterprising line time deviation of attached device dynamically, real-Time Compensation.
6. according to claim 1 or 4 described method for synchronous, it is characterized in that, when transmitting said protocol massages that has a timestamp or said ranging information, use hardware to receive and dispatch.
7. method for synchronous according to claim 6; It is characterized in that, in following style interface, use field programmable gate array hardware or application-specific integrated circuit (ASIC) hardware to carry out extraction, insertion, transmission or the reception of said protocol massages: the first line of a couplet Uplink interface of optical line terminal or the uni interface of optical network unit.
8. according to each described method for synchronous in the claim 1 to 5, it is characterized in that, adopt the phase locked algorithm of CPU, according to the output of corresponding time deviation control figure phase-locked loop, needed system clock of generation system and control signal.
9. according to each described method for synchronous in the claim 1 to 3; It is characterized in that said optical line terminal sends said ranging information for said optical network unit through the physical layer operations management maintenance PLOAM message of gigabit passive optical network or the ethernet operation management maintenance Ethernet OAM message of Ethernet passive optical network.
CN 200810142096 2008-08-26 2008-08-26 Frequency and time synchronization method for passive optical network Active CN101431385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810142096 CN101431385B (en) 2008-08-26 2008-08-26 Frequency and time synchronization method for passive optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810142096 CN101431385B (en) 2008-08-26 2008-08-26 Frequency and time synchronization method for passive optical network

Publications (2)

Publication Number Publication Date
CN101431385A CN101431385A (en) 2009-05-13
CN101431385B true CN101431385B (en) 2012-03-07

Family

ID=40646573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810142096 Active CN101431385B (en) 2008-08-26 2008-08-26 Frequency and time synchronization method for passive optical network

Country Status (1)

Country Link
CN (1) CN101431385B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323028A (en) * 2014-06-20 2016-02-10 中兴通讯股份有限公司 Time synchronization method, equipment and system
CN106301646A (en) * 2015-05-21 2017-01-04 中兴通讯股份有限公司 A kind of time synchronized message method and device

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621713B (en) * 2008-06-30 2012-05-23 华为技术有限公司 Method for calculating synchronous time of passive optical network, system and optical network equipment
CN101959084A (en) * 2009-07-17 2011-01-26 大唐移动通信设备有限公司 Gigabit-capable passive optical network (GPON) timing method and system
CN101998192B (en) * 2009-08-25 2015-07-22 中兴通讯股份有限公司 Method and system for time synchronization on passive optical network
CN102075240B (en) * 2009-11-24 2015-06-03 中兴通讯股份有限公司 Method and system for performing ranging on optical network unit in passive optical network
CN102075277B (en) * 2009-11-25 2014-12-10 中兴通讯股份有限公司 Method and system for synchronizing uplink transmission in passive optical network
US8571068B2 (en) * 2010-01-05 2013-10-29 Futurewei Technologies, Inc. Network timing distribution and synchronization using virtual network delays
CN102136900B (en) * 2010-01-22 2014-11-05 华为技术有限公司 Time synchronization method for passive optical network, device and system
US8861964B2 (en) * 2010-03-29 2014-10-14 Telefonaktiebolaget L M Ericsson (Publ) Methods and arrangements in optical network
ES2604477T3 (en) * 2010-07-23 2017-03-07 Huawei Technologies Co., Ltd. Method and device for time synchronization
CN102347829A (en) * 2010-07-29 2012-02-08 高通创锐讯通讯科技(上海)有限公司 Ethernet passive optical network (EPON) time synchronization method
CN102340396A (en) * 2010-07-29 2012-02-01 高通创锐讯通讯科技(上海)有限公司 Time synchronization method for Ethernet passive optical network (EPON)
CN102377556B (en) * 2010-08-19 2016-04-13 中兴通讯股份有限公司 A kind ofly realize the synchronous method and system of active and standby optical line terminal timestamp
CN102264012B (en) * 2011-07-29 2017-11-28 中兴通讯股份有限公司 The local oscillator synchronous method and ONU and OLT of a kind of PON system
CN102938676B (en) * 2011-08-16 2017-11-10 中兴通讯股份有限公司 Time synchronizing method, apparatus and system
CN102497245B (en) * 2011-12-19 2015-04-15 杭州华三通信技术有限公司 Clock synchronization method and clock management interface board
CN104426600B (en) * 2013-09-04 2017-01-11 成都泰富通信有限公司 Automatic optical fiber transmission delay locking and equalization method
CN104717030B (en) * 2013-12-17 2017-11-03 中国移动通信集团公司 Method for synchronizing time and relevant device, system
CN106031134A (en) * 2014-02-26 2016-10-12 三菱电机株式会社 Light transport system and delay measurement method
CN106301642B (en) * 2015-05-14 2018-11-09 深圳市中兴微电子技术有限公司 A kind of clock synchronizing method and device of passive optical network
CN105471539B (en) * 2015-06-11 2019-03-01 南京智汇电力技术有限公司 A method of synchronous data collection is realized based on passive optical network
CN105472483B (en) * 2015-06-12 2019-03-01 南京智汇电力技术有限公司 A kind of passive optical network data acquisition method based on double sampling
CN105281860B (en) * 2015-06-16 2018-01-16 南京智汇电力技术有限公司 A kind of synchronous data sampling method based on ethernet passive optical network
CN108574547B (en) * 2017-03-13 2020-07-03 中国移动通信有限公司研究院 Time calibration method and device
CN106982397B (en) * 2017-05-16 2020-06-16 华北电力大学(保定) Substation communication network based on return detection and time synchronization safety method thereof
US10257798B1 (en) 2018-05-18 2019-04-09 OPNT Holding B.V. Synchronizing clocks in a wireless system
CN109039517B (en) * 2018-08-10 2019-12-24 电信科学技术第五研究所有限公司 Multi-node high-precision frequency synchronization method and system based on optical fiber network
CN110401505A (en) * 2019-07-19 2019-11-01 深圳大学 A kind of wireless network accurate time synchronization method
WO2021147042A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Time synchronization method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1330077A1 (en) * 2002-01-17 2003-07-23 Samsung Electronics Co. Ltd. Method for implementing various functions including access control in a gigabit ethernet passive optical network system
CN101080889A (en) * 2004-12-16 2007-11-28 西门子公司 Synchronization module
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1330077A1 (en) * 2002-01-17 2003-07-23 Samsung Electronics Co. Ltd. Method for implementing various functions including access control in a gigabit ethernet passive optical network system
CN101080889A (en) * 2004-12-16 2007-11-28 西门子公司 Synchronization module
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323028A (en) * 2014-06-20 2016-02-10 中兴通讯股份有限公司 Time synchronization method, equipment and system
CN105323028B (en) * 2014-06-20 2019-04-12 中兴通讯股份有限公司 A kind of method for synchronizing time, equipment and system
CN106301646A (en) * 2015-05-21 2017-01-04 中兴通讯股份有限公司 A kind of time synchronized message method and device
CN106301646B (en) * 2015-05-21 2019-08-23 中兴通讯股份有限公司 A kind of time synchronization message method and device

Also Published As

Publication number Publication date
CN101431385A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN101431385B (en) Frequency and time synchronization method for passive optical network
JP5314768B2 (en) Passive optical network system time synchronization method and synchronization system thereof
CN101552663B (en) Passive optical network system and frequency and time synchronizing method thereof
US8942561B2 (en) Synchronization transport over passive optical networks
CN107294634B (en) The centralized approach of 1588 time synchronizations is realized in a kind of distributed system
CN101577600B (en) Time synchronization method, system and optical network equipment for passive optical network system
CN101707505B (en) Method and device for time synchronization in passive optical network and passive optical network
CN102136900B (en) Time synchronization method for passive optical network, device and system
CN103339880B (en) User's sidelight communicator, communication system, control device and electricity-saving control method
CN102013931B (en) Time synchronization method and system, salve timing device and main timing device
CN101621713B (en) Method for calculating synchronous time of passive optical network, system and optical network equipment
US8913895B1 (en) Method and apparatus for controlling timing of a transmission signal from a network termination device
CN102843620B (en) A kind of OTN Apparatus and method for realizing time synchronized and transmit
US8571068B2 (en) Network timing distribution and synchronization using virtual network delays
CN102468898B (en) The method, apparatus and system of time synchronized are realized in time division multiplex network
CN103929293A (en) Asymmetrically-delayed time synchronization method and system
CN103259640A (en) Method and device for synchronizing time
CN101582734A (en) Access control method in wavelength division multiplexing passive optical network and device thereof
KR101285277B1 (en) Method and system for time synchronization in a passive optical network
CN101145846B (en) Device and method for service transmission timing and networking timing in optical access network
JP5913067B2 (en) Time synchronization system, transmission path delay time correction method, time synchronization device
Takahashi et al. NG-PON2 demonstration with small delay variation and low latency for 5G mobile fronthaul
KR20160024782A (en) network synchronization apparatus and method on passive optical access network
CN102340396A (en) Time synchronization method for Ethernet passive optical network (EPON)
CN211880179U (en) Wide area protection control system suitable for urban distribution network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant