P O N S: Assive Ptical Etwork
P O N S: Assive Ptical Etwork
P O N S: Assive Ptical Etwork
PON benefits
PON architecture
Fiber optic basics
PON physical layer
PON user plane
PON control plane
PONs Slide 2
PON benefits
PONs Slide 3
Why fiber ?
today’s high datarate networks are all based on optical fiber
the reason is simple (examples for demonstration sake)
twisted copper pair(s)
– 8 Mbps @ 3 km, 1.5 Mbps @ 5.5 km (ADSL)
– 1 Gb @ 100 meters (802.3ab)
microwave
– 70 Mbps @ 30 km (WiMax)
coax
– 10 Mbps @ 3.6 km (10BROAD36)
– 30 Mbps @ 30 km (cable modem)
optical fiber
– 10 Mbps @ 2 km (10BASE-FL)
– 100 Mbps @ 400m (100BASE-FX)
– 1 Gbps @ 2km (1000BASE-LX)
– 10 Gbps @ 40 (80) km (10GBASE-E(Z)R)
– 40 Gbps @ 700 km [Nortel] or 3000 km [Verizon]
PONs Slide 4
Aside – why is fiber better ?
attenuation per unit length
reasons for energy loss
– copper: resistance, skin effect, radiation, coupling
– fiber: internal scattering, imperfect total internal reflection
so fiber beats coax by about 2 orders of magnitude
– e.g. 10 dB/km for thin coax at 50MHz, 0.15 dB/km =1550nm fiber
PONs Slide 5
Why not fiber ?
fiber beats all other technologies for speed and reach
but fiber has its own problems
harder to splice, repair, and need to handle carefully
regenerators and even amplifiers are problematic
– more expensive to deploy than for copper
digital processing requires electronics
– so need to convert back to electronics
copper fiber
– we will call the converter an optical transceiver
– optical transceivers are expensive
switching easier with electronics (but possible with photonics)
– so pure fiber networks are topologically limited:
point-to-point
rings
PONs Slide 6
Access network bottleneck
hard for end users to get high datarates because of the access bottleneck
local area networks
use copper cable
get high datarates over short distances
core networks
use fiber optics
get high datarate over long distances access core
small number of active network elements
PONs Slide 7
Fiber To The Curb
Hybrid Fiber Coax and VDSL
switch/transceiver/miniDSLAM located at curb or in basement
need only 2 optical transceivers
but not pure optical solution
lower BW from transceiver to end users
need complex converter in constrained environment
N end users
core feeder fiber
copper
N end users
core
access network
PONs Slide 9
An obvious solution
deploy intermediate switches
(active) switch located at curb or in basement
saves space at central office
need 2 N + 2 optical transceivers
N end users
core feeder fiber
fiber
access network
N end users
core
typically N=32
max defined 128
feeder fiber
PONs Slide 12
PON
architecture
PONs Slide 13
Terminology
like every other field, PON technology has its own terminology
the CO head-end is called an OLT
ONUs are the CPE devices (sometimes called ONTs in ITU)
the entire fiber tree (incl. feeder, splitters, distribution fibers) is an ODN
all trees emanating from the same OLT form an OAN
downstream is from OLT to ONU (upstream is the opposite direction)
downstream
upstream
NNI
Optical Distribution Network Optical Network Units
core
splitter
Optical Line Terminal UNI
PONs Slide 15
Bibliography
BPON is explained in ITU-T G.983.x
GPON is explained in ITU-T G.984.x
EPON is explained in IEEE 802.3-2005 clauses 64 and 65
– (but other 802.3 clauses are also needed)
Warning
do not believe white papers from vendors
especially not with respect to GPON/EPON comparisons
PONs Slide 16
PON principles
(almost) all PON types obey the same basic principles
OLT and ONU consist of
Layer 2 (Ethernet MAC, ATM adapter, etc.)
optical transceiver using different s for transmit and receive
optionally: Wavelength Division Multiplexer
downstream transmission
OLT broadcasts data downstream to all ONUs in ODN
ONU captures data destined for its address, discards all other data
encryption needed to ensure privacy
upstream transmission
ONUs share bandwidth using Time Division Multiple Access
OLT manages the ONU timeslots
ranging is performed to determine ONU-OLT propagation time
additional functionality
Physical Layer OAM
Autodiscovery
Dynamic Bandwidth Allocation
PONs Slide 17
Why a new protocol ?
downstream
PON has a unique architecture upstream
(broadcast) point-to-multipoint in DS direction
(multiple access) multipoint-to-point in US direction
PONs Slide 18
(multi)point - to - (multi)point
PONs Slide 19
PON encapsulation
The majority of PON traffic is Ethernet
PONs Slide 20
BPON history
1995 : 7 operators (BT, FT, NTT, …) and a few vendors form
Full Service Access Network Initiative
to provide business customers with multiservice broadband offering
Obvious choices were ATM (multiservice) and PON (inexpensive)
which when merged became APON
1996 : name changed to BPON to avoid too close association with ATM
1997 : FSAN proposed BPON to ITU SG15
1998 : BPON became G.983
– G.982 : PON requirements and definitions
– G.983.1 : 155 Mbps BPON
– G.983.2 : management and control interface
– G.983.3 : WDM for additional services
– G.983.4 : DBA
– G.983.5 : enhanced survivability
– G.983.1 amd 1 : 622 Mbps rate
– G.983.1 amd 2 : 1244 Mbps rate
– …
PONs Slide 21
EPON history
2001: IEEE 802 LMSC WG accepts
Ethernet in the First Mile Project Authorization Request
becomes EFM task force (largest 802 task force ever formed)
EFM task force had 4 tracks
DSL (now in clauses 61, 62, 63)
Ethernet OAM (now clause 57)
Optics (now in clauses 58, 59, 60, 65)
P2MP (now clause 64)
2002 : liaison activity with ITU to agree upon wavelength allocations
2003 : WG ballot
PONs Slide 22
GPON history
2001 : FSAN initiated work on extension of BPON to > 1 Gbps
PONs Slide 23
Fiber optics - basics
PONs Slide 24
Total Internal Reflection
in Step-Index Multimode Fiber
Popular Fiber
Sizes
Multimode Graded-
Index Fiber
Single-mode
Fiber
PONs Slide 26
Optical Loss versus Wavelength
PONs Slide 27
Sources of Dispersion
Total Dispersion
Multimode Chromatic
Dispersion Dispersion
Material
Dispersion
PONs Slide 28
Multimode Dispersion
1 0 1 1 1 11
PONs Slide 29
Graded-index Dispersion
1 0 11 1 0 1
PONs Slide 30
Single-Mode Dispersion
1 0 11 1 0 1
PONs Slide 31
System Design Consideration
Tc = Dmat * *L
PONs Slide 32
Material Dispersion (Dmat)
PONs Slide 33
Spectral Characteristics
LASER/laser diode: Light Amplification by Stimulated Emission of Radiation. Done of the wide range of
devices that generates light by that principle. Laser light is directional, covers a narrow range of
wavelengths, and is more coherent than ordinary light. Semiconductor diode lasers are the standard light
sources in fiber optic systems. Lasers emit light by stimulated emission.
PONs Slide 34
Laser Optical Power Output vs. Forward Current
Laser
PONs Slide 35
Light Detectors
PONs Slide 36
Wavelength-Division Multiplexing
PONs Slide 37
WDM Duplexing
PONs Slide 38
Basic Configuration of PON
PONs Slide 40
Eye diagram of ONU transceiver
in burst mode operation
PONs Slide 41
Burst-Mode Transmitter in ONU
PONs Slide 42
OLT Burst-Mode Receiver
PONs Slide 43
Burst-Mode CDR
PONs Slide 44
Sampling
Hysteresis
Superimposed interference
PONs Slide 45
Transceiver Block Diagram
PONs Slide 46
Optical Splitters
PONs Slide 47
Optical Protection Switch
Optical Splitter
PONs Slide 48
Budget Calculations
LB = PS - PO
LB = Link Budget
PS = Sensitivity
PO = Output Power
Assume:
Optical loss = 0.35 db/km
Connector Loss = 2dB Range Budget: ~11Km
Splitter Insertion Loss 1X32 = 17dB
PONs Slide 50
Relationship between transmission distance
and number of splits
PONs Slide 51
GbE Fiber Optic Characteristics
PONs Slide 52
PON physical layer
PONs Slide 53
allocations - G.983.1
Upstream and downstream directions need about the same bandwidth
US serves N customers, so it needs N times the BW of each customer
but each customer can only transmit 1/N of the time
In APON and early BPON work it was decided that 100 nm was needed
US DS
1200 nm 1300 nm 1400 nm 1500 nm 1600 nm
PONs Slide 54
allocations - G.983.3
Afterwards it became clear that there was a need for additional DS bands
Pressing needs were broadcast video and data
Where could these new DS bands be placed ?
At about the same time G.694.2 defined 20 nm CWDM bands
these were made possible because of new inexpensive hardware
(uncooled Distributed Feedback Lasers)
One of the CWDM bands was 1490 10 nm 1270 1490 1630
PONs Slide 55
allocations - final
US DS
1200 nm 1300 nm 1400 nm 1500 nm 1600 nm
PONs Slide 56
Data rates (for now …)
PON DS (Mbps) US (Mbps)
BPON 155.52 155.52
622.08 155.52
Amd 1 622.08 622.08
1244.16 155.52
Amd 2 1244.16 622.08
1244.16 155.52
1244.16 622.08
1244.16 1244.16
2488.32 155.52
GPON
2488.32 622.08
2488.32 1244.16
2488.32 2488.32
EPON 1250* 1250*
10GEPON† 10312.5* 10312.5*
PONs Slide 58
Line codes
BPON and GPON use a simple NRZ linecode (high is 1 and low is 0)
An I.432-style scrambling operation is applied to payload (not to PON overhead)
Preferable to conventional scrambler because no error propagation
– each standard and each direction use different LFSRs
– LFSR initialized with all ones
– LFSR sequence is XOR'ed with data before transmission
PONs Slide 59
FEC
G984.3 clause 13 and 802.3-2005 subclause 65.2.3
define an optional G.709-style Reed-Solomon code
Use (255,239,8) systematic RS code designed for submarine fiber (G.975)
to every 239 data bytes add 16 parity bytes to make 255 byte FEC block
Near-far problem
OLT needs to know signal strength to set decision threshold
If large distance between near/far ONUs, then very different attenuations
If radically different received signal strength can't use a single threshold
– EPON: measure received power of ONU at beginning of burst
– GPON: OLT feedback to ONUs to properly set transmit power
PONs Slide 61
US timing diagram
How does the ONU US transmission appear to the OLT ?
grant grant
inter-ONU
guard
data data
lock
lock
laser laser laser laser
turn-on turn-off turn-on turn-off
Notes:
GPON - ONU reports turn-on and turn-off times to OLT
ONU preamble length set by OLT
EPON - long lock time as need to Automatic Gain Control and Clock/Data Recovery
long inter-ONU guard due to AGC-reset
Ethernet preamble is part of data
PONs Slide 62
PON User plane
PONs Slide 63
How does it work?
ONU stores client data in large buffers (ingress queues)
ONU sends a high-speed burst upon receiving a grant/allocation
– Ranging must be performed for ONU to transmit at the right time
– DBA - OLT allocates BW according to ONU queue levels
OLT identifies ONU traffic by label
OLT extracts traffic units and passes to network
OLT receives traffic from network and encapsulates into PON frames
OLT prefixes with ONU label and broadcasts
ONU receives all packets and filters according to label
ONU extracts traffic units and passes to client
PONs Slide 64
Labels
In an ODN there is 1 OLT, but many ONUs
ONUs must somehow be labeled for
– OLT to identify the destination ONU
– ONU to identify itself as the source
EPON assigns a single label Logical Link ID to each ONU (15b)
GPON has several levels of labels
– ONU_ID (1B) (1B)
– Transmission-CONTainer (AKA Alloc_ID) (12b) (can be >1 T-CONT per ONU)
For ATM mode
VPI
VP VC
ONU T-CONT VP VC
VCI VC
VC
For GEM mode PON
Port
Port_ID (12b) (12b)
ONU T-CONT
Port
PONs Slide 65
DS GPON format
GPON Transmission Convergence frames are always 125 sec long
– 19440 bytes / frame for 1244.16 rate
– 38880 bytes / frame for 2488.32 rate
Each GTC frame consists of Physical Control Block downstream + payload
– PCBd contains sync, OAM, DBA info, etc.
– payload may have ATM and GEM partitions (either one or both)
PSync (4B) Ident (4B) PLOAMd (13B) BIP (1B) ATM GEM
partition partition
PLend (4B) PLend (4B) US BW map (N*8B)
PONs Slide 66
GPON payloads
GTC payload potentially has 2 sections:
– ATM partition (Alen * 53 bytes in length)
– GEM partition (now preferred method)
PCBd ATM cell ATM cell … ATM cell GEM frame GEM frame … GEM frame
ATM partition
Alen (12 bits) is specified in the PCBd
Alen specifies the number of 53B cells in the ATM partition
if Alen=0 then no ATM partition
if Alen=payload length / 53 then no GEM partition
ATM cells are aligned to GTC frame
ONUs accept ATM cells based on VPI in ATM header
GEM partition
Unlike ATM cells, GEM delineated frames may have any length
Any number of GEM frames may be contained in the GEM partition
ONUs accept GEM frames based on 12b Port-ID in GEM header
PONs Slide 67
GPON Encapsulation Mode
A common complaint against BPON was inefficiency due to ATM cell tax
GEM is similar to ATM
– constant-size HEC-protected header
– but avoids large overhead by allowing variable length frames
GEM is generic – any packet type (and even TDM) supported
GEM supports fragmentation and reassembly
GEM is based on GFP, and the header contains the following fields:
– Payload Length Indicator - payload length in Bytes
– Port ID - identifies the target ONU
– Payload Type Indicator (GEM OAM, congestion/fragmentation indication)
– Header Error Correction field (BCH(39,12,2) code+ 1b even parity)
The GEM header is XOR'ed with B6AB31E055 before transmission
PONs Slide 69
GEM fragmentation
GEM can fragment its payload
For example
unfragmented Ethernet frame
PLI ID PTI=001 HEC DA SA T data FCS
fragmented Ethernet frame
PLI ID PTI=000 HEC DA SA T data1
PONs Slide 70
PCBd
We saw that the PCBd is
PONs Slide 71
GPON US considerations
GTC fames are still 125 sec long, but shared amongst ONUs
Each ONU transmits a burst of data
– using timing acquired by locking onto OLT signal
– according to time allocation sent by OLT in BWmap
there may be multiple allocations to single ONU
PONs Slide 73
US allocation example
DS frame
PCBd payload
BWmap Alloc-ID SStart SStop Alloc-ID SStart Sstop Alloc-ID SStart SStop
US frame
PONs Slide 75
EPON header
Standard Ethernet starts with an essentially content-free 8B preamble
7B of alternating ones and zeros 10101010
1B of SFD 10101011
Ethertype = 8808
Opcodes (2B) - presently defined:
GATE/REPORT/REGISTER_REQ/REGISTER/REGISTER_ACK
Timestamp is 32b, 16 ns resolution
conveys the sender's time at time of MPCPDU transmission
Data field is needed for some messages
PONs Slide 77
Security
DS traffic is broadcast to all ONUs, so encryption is essential
easy for a malicious user to reprogram ONU to capture desired frames
US traffic not seen by other ONUs, so encryption is not needed
do not take fiber-tappers into account
PONs Slide 79
QoS - EPON
RT EF BE
GPON
PONs Slide 80
QoS - GPON
GPON treats QoS explicitly
– constant length frames facilitate QoS for time-sensitive applications
– 5 types of Transmission CONTainers
type 1 - fixed BW
type 2 - assured BW
PONs Slide 81
PON control plane
PONs Slide 82
Principles
GPON uses PLOAMd and PLOAMu as control channel
PLOAM are incorporated in regular (data-carrying) frames
Standard ITU control mechanism
PONs Slide 83
Ranging
To eliminate overlap
guard times left between timeslots
each ONU transmits with the proper delay to avoid overlap
delay computed during a ranging process
PONs Slide 84
Ranging background
In order for the ONU to transmit at the correct time
the delay between ONU transmission and OLT reception
needs to be known (explicitly or implicitly)
Need to assign an equalization-delay
The more accurately it is known
the smaller the guard time that needs to be left
and thus the higher the efficiency
Assumptions behind the ranging methods used:
can not assume US delay is equal to DS delay
delays are not constant
– due to temperature changes and component aging
GPON: ONUs not time synchronized accurately enough
EPON: ONUs are accurately time synchronized (std contains jitter masks)
with time offset by OLT-ONU propagation time
PONs Slide 85
GPON ranging method
Two types of ranging
– initial ranging
only performed at ONU boot-up or upon ONU discovery
– continuous ranging
performed continuously to compensate for delay changes
OLT initiates coarse ranging by stopping allocations to all other ONUs
– thus when new ONU transmits, it will be in the clear
OLT instructs the new ONU to transmit (via PLOAMd)
OLT measures phase of ONU burst in GTC frame
OLT sends equalization delay to ONU (in PLOAMd)
During normal operation OLT monitors ONU burst phase
If drift is detected OLT sends new equalization delay to ONU (in PLOAMd)
PONs Slide 86
EPON ranging method
All ONUs are synchronized to absolute time (wall-clock)
When an ONU receives an MPCPDU from OLT
it sets its clock according to the OLT's timestamp
When the OLT receives an MPCPDU in response to its MPCPDU
it computes a "round-trip time" RTT (without handling times)
it informs the ONU of RTT, which is used to compute transmit delay
OLT sends MPCPDU ONU receives MPCPDU ONU sends MPCPDU OLT receives MPCPDU
Timestamp = T0 Sets clock to T0 Timestamp = T1 RTT = T2 - T1
time
OLT time T0 T2
ONU time T0 T1
RTT = (T2-T0) - (T1-T0) = T2-T1
OLT compensates all grants by RTT before sending
Either ONU or OLT can detect that timestamp drift exceeds threshold
PONs Slide 87
Autodiscovery
OLT needs to know with which ONUs it is communicating
This can be established via NMS
– but even then need to setup physical layer parameters
PONs employ autodiscovery mechanism to automate
– discovery of existence of ONU
– acquisition of identity
– allocation of identifier
– acquisition of ONU capabilities
– measure physical layer parameters
– agree on parameters (e.g. watchdog timers)
Autodiscovery procedures are complex (and uninteresting)
so we will only mention highlights
PONs Slide 88
GPON autodiscovery
Every ONU has an 8B serial number (4B vendor code + 4B SN)
– SN of ONUs in OAN may be configured by NMS, or
– SN may be learnt from ONU in discovery phase
ONU activation may be triggered by
– Operator command
– Periodic polling by OLT
– OLT searching for previously operational ONU
G.984.3 differentiates between three cases:
– cold PON / cold ONU
– warm PON / cold ONU
– warm PON / warm ONU
Main steps in procedure:
– ONU sets power based on DS message
– OLT sends a Serial_Number request to all unregistered ONUs
– ONU responds
– OLT assigns 1B ONU-ID and sends to ONU
– ranging is performed
– ONU is operational
PONs Slide 89
EPON autodiscovery
OLT periodically transmits DISCOVERY GATE messages
ONU waits for DISCOVERY GATE to be broadcast by OLT
DISCOVERY GATE message defines discovery window
start time and duration
assigns LLID
GPON
if ONU detects LOS or LOF it goes into POPUP state
it stops sending traffic US
EPON
during normal operation ONU REPORTs reset OLT's watchdog timer
similarly, OLT must send GATES periodically (even if empty ones)
if OLT's watchdog timer for ONU times out
ONU is deregistered
PONs Slide 91
Dynamic Bandwidth Allocation
MANs and WANs have relatively stationary BW requirements
due to aggregation of large number of sources
But each ONU in a PON may serve only 1 or a small number of users
So BW required is highly variable
It would be inefficient to statically assign the same BW to each ONU
So PONs assign dynamically BW according to need
The need can be discovered
– by passively observing the traffic from the ONU
– by ONU sending reports as to state of its ingress queues
The goals of a Dynamic Bandwidth Allocation algorithm are
– maximum fiber BW utilization
– fairness and respect of priority
– minimum delay introduced
PONs Slide 92
GPON DBA
DBA is at the T-CONT level, not port or VC/VP
GPON can use traffic monitoring (passive) or status reporting (active)
There are three different status reporting methods
status in PLOu - one bit for each T-CONT type
piggy-back reports in DBRu - 3 different formats:
– quantity of data waiting in buffers,
– separation of data with peak and sustained rate tokens
– nonlinear coding of data according to T-CONT type and tokens
ONU report in DBA payload - select T-CONT states
OLT may use any DBA algorithm
OLT sends allocations in US BW map
PONs Slide 93
EPON DBA
OLT sends GATE messages to ONUs
GATE message
DA SA 8808 Opcode=0002 timestamp Ngrants/flags grants …
flags include DISCOVERY and Force_Report
Force_Report tells the ONU to issue a report
REPORT message
DA SA 8808 Opcode=0003 timestamp Nqueue_sets Reports …
PONs Slide 94