1. Field of Invention
The present invention relates to the design of Ethernet passive optical networks. More specifically, the present invention relates to a method and a system that accommodates different clock frequencies between an optical line terminal and an optical network unit in an Ethernet passive optical network.
2. Related Art
In order to keep pace with increasing Internet traffic, optical fibers and associated optical transmission equipment have been widely deployed to substantially increase the capacity of backbone networks. However, this increase in the capacity of backbone networks has not been matched by a corresponding increase in the capacity of access networks. Even with broadband solutions, such as digital subscriber line (DSL) and cable modem (CM), the limited bandwidth offered by current access networks creates a severe bottleneck in delivering high bandwidth to end users.
Among the different technologies that are presently being developed, Ethernet passive optical networks (EPONs) are one of the best candidates for next-generation access networks. EPONs combine ubiquitous Ethernet technology with inexpensive passive optics. Hence, they offer the simplicity and scalability of Ethernet with the cost-efficiency and high capacity of passive optics. In particular, due to the high bandwidth of optical fibers, EPONs are capable of accommodating broadband voice, data, and video traffic simultaneously. Such integrated service is difficult to provide with DSL or CM technology. Furthermore, EPONs are more suitable for Internet Protocol (IP) traffic, because Ethernet frames can directly encapsulate native IP packets with different sizes, whereas ATM passive optical networks (APONs) use fixed-size ATM cells and consequently require packet fragmentation and reassembly.
Typically, EPONs are used in the “first mile” of the network, which provides connectivity between the service provider's central offices and business or residential subscribers. Logically, the first mile is a point-to-multipoint network, with a central office servicing a number of subscribers. A tree topology can be used it an EPON, wherein one fiber couples the central office to a passive optical splitter, which divides and distributes downstream optical signals to subscribers and combines upstream optical signals from subscribers (see
Transmissions within an EPON are typically performed between an optical line terminal (OLT) and optical networks units (ONUs) (see
Communications within an EPON can be divided into downstream traffic (from OLT to ONUs) and upstream traffic (from ONUs to OLT). In the downstream direction, because of the broadcast nature of the 1×N passive optical coupler, downstream data frames are broadcast by the OLT to all ONUs and are selectively extracted by their destination ONUs. In the upstream direction, the ONUs need to share channel capacity and resources, because there is only one link coupling the passive optical coupler with the OLT.
One challenge in designing an EPON is to mitigate the effect of different clock frequencies used for transmission at the ONUs. When an ONU's transmission clock frequency drifts away from the OLT clock, the actual time consumed by an upstream burst from that ONU may be longer or shorter than the size of the assigned transmission window. This may lead to erroneous reception of the upstream bits and potentially cause overlapping between two consecutive upstream bursts from different ONUs.
Hence, what is needed is a method and a system for accommodating different clock frequencies within an EPON so that an upstream data burst remains within its assigned transmission window.
One embodiment of the present invention provides a system that accommodates different clock frequencies in an Ethernet passive optical network (EPON), wherein the EPON includes an optical line terminal (OLT) and one or more optical network units (ONU's). During operation, the system receives a signal from the OLT at the ONU and derives an OLT clock from the received signal. The system also maintains a local clock. The system further receives from the OLT an assignment for an upstream transmission window, during which the ONU can transmit an upstream data burst to the OLT based on the local clock. The system adjusts the number of bits of the data burst without affecting the payload data carried in the data burst, thereby allowing the data burst to fit properly within the upstream transmission window and compensating for frequency differences between the local clock and the OLT clock. The system then transmits the data burst based on the local clock in the upstream transmission window.
In a variation on this embodiment, adjusting the number of bits of the data burst involves inserting one or more unused bits into the data burst without affecting the payload data when the transmission time of the data burst based on the local clock is shorter than the transmission time based on the OLT clock by a pre-determined threshold.
In a further variation, the predetermined threshold corresponds to the transmission time of a character based on the local clock or the OLT clock. Furthermore, inserting one or more unused bits into the data burst involves inserting an idle character into an inter-packet gap between two packets contained in the data burst.
In a variation on this embodiment, adjusting the number of bits of the data burst involves removing one or more unused bits from the data burst without affecting the payload data when the transmission time of the data burst based on the local clock is longer than the transmission time based on the OLT clock by a pre-determined threshold.
In a further variation, the pre-determined threshold corresponds to the transmission time of a character based on the local clock or the OLT clock. Furthermore, removing one or more unused bits from the data burst involves removing an idle character from an inter-packet gap between two packets contained in the data burst.
A further embodiment of the present invention provides a system that accommodates different clock frequencies in an EPON, wherein the EPON includes an OLT and one or more ONU's. During operation, the system receives a signal from the OLT at the ONU and derives an OLT clock from the received signal. The system also maintains a local clock. The system further compares the local clock with the OLT clock. The system requests from the OLT an upstream transmission window based on the comparison, wherein the upstream transmission window can accommodate an upstream data burst transmitted based on the local clock.
In a variation on this embodiment, the system determines the duration of the upstream transmission window based on the size of the data burst and the local clock. The system further determines the size of the upstream transmission window in terms of amount of data that can be transmitted based on the OLT clock during the determined duration. Furthermore, requesting the upstream transmission window involves communicating to the OLT the determined size of the upstream transmission window in terms of amount of data to be transmitted based on the OLT clock.
A further embodiment of the present invention provides a system for accommodating different clock frequencies in an EPON, the EPON including an OLT and one or more ONU's. The system includes an OLT-clock derivation module configured: (i) to receive a signal, (ii) to derive an OLT clock from the signal, and (iii) to maintain a local clock to simulate an OLT clock. The system additionally includes a receiving module configured to receive an assignment for an upstream transmission window for transmission of an upstream data burst based on the local clock. The system further includes a determination module configured to determine a size of the upstream transmission window in terms of an amount of data that is to be transmitted based on the OLT clock. The system yet further includes an adjustment module configured to adjust a number of bits of the upstream data burst without affecting a payload data carried in the upstream data burst by inserting or removing unused bits in corresponding inter-packet gaps between packets contained in the upstream data burst, thereby allowing the upstream data burst to fit properly within the upstream transmission window and compensating for frequency differences between the local clock and the OLT clock. The system yet further includes a transmission module configured to transmit the upstream data burst based on the local clock during the upstream transmission window. In this further embodiment, a number of bits inserted or removed is determined by the difference between the size of the upstream transmission window and a size of upstream data burst.
In a variation on this embodiment, the adjustment module includes an insertion module configured to insert one or more unused bits into the upstream data burst without affecting the payload data when a transmission time of the upstream data burst based on the local clock is shorter than a transmission time based on the OLT clock by a pre-determined threshold.
In an additional variation on this embodiment, the pre-determined threshold corresponds to a transmission time of a character based on the local clock or the OLT clock. In this additional variation, the insertion module is configured to insert an idle character into the corresponding inter-packet gaps between the packets contained in the upstream data burst.
In a further variation on this embodiment, the adjustment module includes a removal module configured to remove one or more unused bits from the upstream data burst without affecting the payload data when a transmission time of the upstream data burst based on the local clock is longer than a transmission time based on the OLT clock by a pre-determined threshold.
In a yet further variation on this embodiment, the pre-determined threshold corresponds to a transmission time of a character based on the local clock or the OLT clock. In this yet further variation, the removal module is configured to remove an idle character into the corresponding inter-packet gaps between the packets contained in the upstream data burst.
A further embodiment of the present invention provides a system for accommodating different clock frequencies in an EPON, the EPON including an OLT and one or more ONU's. The system includes an OLT-clock derivation module configured (i) to receive a signal, (ii) to derive an OLT clock from the signal, and (iii) to maintain a local clock to simulate an OLT clock. The system additionally includes a comparison module configured to compare the local clock and the OLT clock. The system further includes a request module configured to request an upstream transmission window based on the comparison. In this further embodiment, the upstream transmission window is configured to accommodate an upstream data burst transmitted based on the local clock.
In a variation on this embodiment, the system further includes a determination module configured to: (i) determine a duration of the upstream transmission window based on a size of the upstream data burst and the local clock, and (ii) to determine a size of the upstream transmission window in terms of an amount of data that is to be transmitted based on the OLT clock during the duration of the upstream transmission window. In this variation, the requesting module is configured to communicate the size of the upstream transmission window in terms of the amount of data that is to be transmitted based on the OLT clock.
The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention (e.g., general passive optical network (PON) architectures). Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The data structures and procedures described in this detailed description are typically stored on a computer readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. This includes, but is not limited to, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), semiconductor memories, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), and DVDs (digital versatile discs or digital video discs).
Passive Optical Network Topology
Normal Operation Mode in EPON
As shown in
In the upstream direction, OLT 201 first schedules and assigns transmission timeslots to each ONU according to the ONU's service-level agreement. When not in its transmission timeslot, an ONU typically buffers the data received from its user. When its scheduled transmission timeslot arrives, an ONU transmits the buffered user data within the assigned transmission window.
Since every ONU takes turns in transmitting upstream data according to the OLT's scheduling, the upstream link's capacity can be efficiently utilized. However, for the scheduling to work properly, the OLT needs to discover and initialize a newly joined ONU. During discovery, the OLT may collect information critical to transmission scheduling, such as the ONU's round-trip time (RTT), its media access control (MAC) address, its service-level agreement, etc. (Note that in some cases service-level agreement may already be known to the OLT.)
Generating Frequency for Upstream Transmission
It is of critical importance that an ONU uses substantially the same clock frequency for upstream transmission as the clock frequency used by the OLT, so that an upstream transmission window can properly accommodate a data burst.
In particular, excessive frequency jitter or drifting can cause errors in upstream transmission. As is shown in
To prevent the aforementioned problem, one embodiment of the present invention uses a separately generated clock frequency at each ONU. This clock frequency may be generated, for example, with a local oscillator and ideally is substantially the same as the clock frequency used by the OLT. A local oscillator is preferred due to its lower jitter output. Reduced jitter decreases the bit error rate and improves the quality of the upstream transmission.
Ideally, both f′ and f″ are substantially the same as f. It is difficult, however, to ensure that both f′ and f″ are exactly the same as f. To mitigate the effect of excessive frequency drift, one embodiment of the present invention allows modification of the number of bits included in a burst, so that the transmitted burst remains within the allocated transmission window.
In one embodiment of the present invention, when the ONU's local clock slows down to the point that the total time required to transmit the burst is greater than a preferred value by, for example, one idle character, the ONU may remove one idle character from an IPG. In this way, the ONU can ensure that the actual transmission time of the burst remains substantially accurate with regard to the allocated transmission window.
Similarly, when the ONU's local clock speeds up to the point that the total time required to transmit the burst is less than a preferred value by, for example, one idle character, the ONU may insert one additional idle character into an IPG. Note that the ONU can calculate the preferred value of the transmission time based on the clock frequency used by the OLT for downstream transmission.
Another approach to compensate for the clock-frequency drift at an ONU is to compare the local clock frequency with that of the OLT and to request a transmission window accordingly to compensate for the frequency discrepancy. For example, if an ONU's local clock happens to have slowed down, and the ONU has n bits of data burst to transmit, the ONU may request a transmission window of if bits (n′>n) based on the OLT's clock frequency. Consequently; the ONU can successfully transmit the n-bit burst within the allocated window, even with a slower clock.
The foregoing descriptions of embodiments of the present invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims.
The present application is a continuation of U.S. patent application Ser. No. 11/478,492, filed on Jun. 28, 2006, which claims the benefit of U.S. Provisional Patent Appl. No. 60/695,795 filed on Jun. 29, 2005. U.S. patent application Ser. No. 11/478,492 is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60695795 | Jun 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11478492 | Jun 2006 | US |
Child | 13073525 | US |