Tản mạn chút viễn thông

Hồi xưa khi mới biết chữ abc thì nghe nói đến SDH còn mới & hiện đại lắm, Tụi VT xin được đường 2.5G của QĐ mà mừng chảy nước mũi.

Rồi tụi tiêu chuẩn, công nghệ gì gì đó ra thêm NG-SDH, hay ở chỗ mấy ông thầy với mấy cô cậu SV thích bốc phét thể hiện cứ đọc là En-di, ếch-đi-ếch mà mấy thằng ngu ngu như tao cứ tưởng cái thì đó ghê gớm, hóa ra nó chỉ là EoSDH, mấy cái VCG, GFP vớ vẩn, từ “vớ vẩn” có thể dùng được vì tụi NG-SDH sống chả được lâu.

Giờ đến C-RAN, đây là cái thể loại cũng bày đặt tỏ ra công nghệ, ấy thế nên nhiều thằng SV có chọn nó làm đề tài tốt nghiệp, thậm chí một số đứa còn làm đề tài thạc sĩ, đúng là tụi SVVN, tụi tây nó làm ra, hưởng thụ, khai thác còn đé* xong đi bày đặt nghiên cứu, đek làm ra được gì cho xã hội suốt ngày rồi sủa với vo ve điếc cả tai.

Tao cũng chả thông minh gì lắm, ngu thì còn khôn hơn khối thằng nên giờ mới tìm hiểu cái này đây, đọc đi đọc lại vài tài liệu mà thấy nguy hiểm quá, càng đọc càng đek hiểu gì, vứt tài liệu đi ngồi nghĩ thì lại thấy:Hmm, nó chả có shit gì cả!!! Có mấy cái giao thức vớ vẩn về truyền dẫn CPRI/OBSAI với vài cái trò routing, sync là hết, thế mà nó cứ nói cứ như là Nếch-ze-nơ-rêy-sần của RAN nghe ghê gớm.

 

UFiber GPON – Designing a GPON Network

Overview


This article will give the necessary information to create a functioning GPON network using UFiber equipment and accessories. It will also give details for planning a high-scale GPON network while considering optical power, distance, attenuation, and bandwidth capacity.

NOTES & REQUIREMENTS:
Ubiquiti Devices used in this article:
  • EdgeRouter 4
  • UF-OLT4
  • UF-NanoG
  • UF-Loco
  • UF-SPLITTER-32
  • UF-SM-PATCH-UPC-APC
  • UF-SM-PATCH-APC-APC

Table of Contents

  1. Introduction
  2. Required Components
  3. Basic Connectivity
  4. Attenuation
  5. Calculating Power Levels
  6. Planning for Capacity vs Client Quantity
  7. Planning with Splitters
  8. Related Articles

Introduction


Back to Top

ODN (Optical Distribution Network) Planning is critical to a successful GPON implementation. It is essential to have a well-planned network design to ensure CPEs receive a usable signal, allow for bandwidth capacity and client count on each PON port, and save on costs. This is done by balancing optical power, distance, attenuation, and bandwidth capacity. After following this article you will understand how to design your GPON network accounting for these different factors and calculate optical power. 


Required Components


Back to Top

For a properly connected GPON network, whether in a lab environment or for actual deployment, some accessories are required to connect the UF-OLT to a UF-Nano G. At a minimum, a SC/UPC to SC/APC single-mode patch cable, attenuator, SC/APC to SC/APC single-mode patch cable, and a splitter are all required.  Please see more details in our UFiber GPON – Accessories article.


Basic Connectivity


Back to Top

For basic topology, you will have a router such as an EdgeRouter Infinity, connected with SFP+ modules and a Multimode fiber patch cable, which connects to the SFP+ port on the UF-OLT. Then, using the supplied UF‑GP‑B+ module, you will connect a UPC to APC single-mode fiber patch cable to a PLC Splitter. At this point, assuming the proper amount of attenuation is given by using a splitter or attenuator, when connecting a Nano G ONU to the PLC splitter using an APC to APC single-mode patch cable you will see a green indicator on the display of the Nano G showing connectivity. The acceptable optical power level range at the ONU is -8 dBm to -28 dBm.

image3.jpg


Attenuation


Back to Top

Attenuation is the most important factor in designing a GPON network and there are multiple sources of attenuation discussed in this section.

warning_25x25.png Important: Connecting a UFiber ONU directly to the UF-GP-B+ in the PON port from the OLT will potentially cause damage to the optics in the ONU and/or the OLT because the power is too high. The acceptable optical power for the Nano G is -8 dBm to -28 dBm. The output from the UF-GP-B+ module is ~3 dBm. Therefore, there must be attenuation to provide an acceptable level at the ONU. This is also a factor in the upstream optics where the output from the ONU @ ~3 dBm would be too high and cause damage to the UF-GP-B+ module.

In the following section, we will cover calculating the optical power. First, we need to become familiar with sources of attenuation so that we can use them in designing the network. Common sources of attenuation in the fiber are length, splices, connectors, splitters, and attenuators.

Length  

~0.3 dB per Km on 1490 nm Downstream Frequency

~0.5 dB per Km on 1310 nm Upstream Frequency

Attenuation occurs over the distance of a fiber run per kilometer (Km) and differs in the downstream and upstream frequencies. The values above are used in the calculation to determine the loss.

Splice  ~0.1 dB per slice

Each splice in a fiber optic run accounts for ~0.1 dB, this seems minimal however as the count of splices in a single run add up it is important to consider this loss.

Connectors ~0.6 dB per connector

Each connector accounts for ~0.6 dB loss in the path. This starts from the SC connector at the UF-GP-B+ module and 0.6 dB is added for each other connector. For example, this starts from the SC connector at the UF-GP-B+ module, connector into the splitter, connector out of the splitter, and connector at the ONU.

Splitters

Splitters are also essential in a GPON networks to connect multiple ONUs and can be used to your advantage in designing a network. More details on use of splitters will be discussed in the Planning with Splitters section. Here we will show the general attenuation loss for each common ratio of splitters, but also include the calculation we used to obtain these values.

Splitter Attenuation Calculation:

log10(x) x 10 = Attenuation for each split

Example for a 1:32 Splitter: log10 (32) x 10 = 15.05 dB

Attenuation for common splitter ratios:

Attenuation of 1:2 splitter: 3.01 dB

Attenuation of 1:4 splitter: 6.02 dB

Attenuation of 1:8 splitter: 9.03 dB

Attenuation of 1:16 splitter: 12.04 dB

Attenuation of 1:32 splitter: 15.05 dB

Attenuation of 1:64 splitter :18.06 dB

info_i_25x25.png Note: These are general attenuation values and each accessory vendor may have different values based on the quality of the product. These values are typically documented with the product information.

Calculating Power Levels


Back to Top

When laying out your fiber distribution network, the goal is to calculate all attenuation in each fiber run to ensure that when connecting the ONU on the customer’s premises it will receive a Rx value of -8 dBm to -28 dBm. It is also important that the OLT Rx from the ONU is also within the same range. This section shows the calculation and how to calculate the optical power the ONU or OLT will receive.

The best way to explain this is with an example. As shown in the image below, starting with the output power from the UF-GP-B+ module (+3 dBm) we will subtract and account for all attenuation points.

Downstream.png

Seeing above that we start with 3dBm output from the OLT UF-GP-B+ module, we then subtract the connectors, distance, splitter, and splices which gives us 19.45 dBm at the ONU which is with-in the -8 dBm to -28 dBm acceptable range.

In the image below we show a very similar calculation starting with 3dBm at the ONU and subtract all attenuation going back to the OLT. The only difference here is the difference in attenuation in the upstream frequency, 1310 nm (0.5 dB per Km) rather than the downstream frequency, 1490 nm (0.3dB per Km).

Upstream.png

warning_25x25.png Important: Class B+ modules like the UF-GP-B+ have a minimum loss of -8 dBm and a max loss of  -28 dBm. All signals must be in this range. Unlike when connecting airMAX equipment when you might get low throughput with a weak signal, with GPON if the Rx signal is outside of the specified range there will be no throughput. Also, the bandwidth will not increase with a better optical power value. Think of this as either “on” when inside the range or “off” when outside the range. The Nano G has a built in display showing the optical power levels of both Rx and Tx to easily see if the level is in the acceptable range.

Planning for Capacity vs Client Quantity


Back to Top

When planning your network it is important to plan for future customers and calculate bandwidth available on each PON port compared to client count. There is often a mix of many clients required relatively low bandwidth around 50 to 100 Mbps and a smaller amount of clients requiring 500 Mbps to 1 Gbps bandwidth.

Highest Bandwidth Capacity Example: For highest capacity of bandwidth, Connecting a single ONU to a single PON port could provide a single client 20km away with the full bandwidth of the PON port. Keep in mind that each of the eight PON ports on the UF-OLT can provide 2.488 Gbps downstream and 1.244 Gbps upstream. In the rare case that a single ONU is used on a single PON port keep in mind that the bandwidth will be limited by the 1000 Mbps LAN copper port on the ONU.

Highest Client Count Example: For highest capacity of clients. A PLC splitter with a 1:128 ratio connected to a PON port could provide 128 clients with equal bandwidth of about 19 Mbps download and 9 Mbps upload when clients are all within ~8km.

info_i_25x25.png Note: the distance here is decreased from the max 20km to 8km due to the attenuation loss ratio of the splitter, fiber length, connectors, and splices. The distance could vary when cascading multiple splitters to give the same bandwidth to customers at a further distance. See the Planning with Splitters section for more details.

Planning with Splitters


Back to Top

When designing your network it is important to utilize splitters to reduce costs, allow for reaching outlying customer locations more easily, and allow for future expansion. The example below shows a good mix of splitters to cover customer locations while still keeping the values in the -8 dBm to -28 dBm range.

In this illustration, we will calculate the power from the OLT to the ONU and the ONU to the OLT to be sure each customer will have a usable signal. Remember it is important to also calculate in the reverse direction to make sure the attenuation difference of the Upstream frequency also allows for a usable power level.

info_i_25x25.png Note: For illustration purposes, we will assume a general number of connectors, splices, etc. for accounting attenuation.

SplittersPlanning.png

Calculations for the above ONU diagram

ONU1

Downstream

Starting Power – four connectors – 20km fiber distance @ 1490nm – 1:2 splitter – four splices

+3dBm + [(-.6dB x (4)] + (-.3dB x 20 ) + (-3.01dB) + [(-.1dB x (4)] =

+3dBm + (-2.4dB) + (-6dB) + (-3.01dB) + (-.4dB) = -8.81dBm

Upstream

Starting Power – four connectors – 20km fiber distance @ 1310nm – 1:2 splitter – four splices

+3dBm + [(-.6dB x (4)] + (-.5dB x 20 ) + (-3.01dB) + [(-.1dB x (4)] =

+3dBm + (-2.4dB) + (-10dB) + (-3.01dB) + (-.4dB) = -12.81dBm

 

ONU2

Downstream

Starting Power – six connectors – 16km fiber distance @ 1490nm – 1:2 splitter – 1:4 splitter  – eight splices

+3dBm + [(-.6dB x (6)] + (-.3dB x 16) + (-3.01dB) + (-6.02dB) + [(-.1dB x (8)] =

+3dBm + (-3.6dB) + (-4.8dB) + (-3.01dB) + (-6.02dB) + (-.8dB) = -15.23dBm

Upstream

Starting Power – six connectors – 16km fiber distance @ 1310nm – 1:2 splitter – 1:4 splitter  – eight splices

+3dBm + [(-.6dB x (6)] + (-.5dB x 16) + (-3.01dB) + (-6.02dB) + [(-.1dB x (8)] =

+3dBm + (-3.6dB) + (-8dB) + (-3.01dB) + (-6.02) + (-.8dB) = -18.43dBm

 

ONU3

Downstream

Starting Power – eight connectors – 13km fiber distance @ 1490nm – 1:2 splitter – 1:4 splitter  – 1:8 splitter – 12 splices

+3dBm + [(-.6dB x (8)] + (-.3dB x 13) + (-3.01dB) + (-6.02dB) + (-9.03dB) + [(-.1dB x (12)] =

+3dBm + (-4.8dB) + (-3.9dB) + (-3.01dB) + (-6.02dB) + (-9.03dB) + (-1.2dB) = -24.96dBm

Upstream

Starting Power – eight connectors – 13km fiber distance @ 1310nm – 1:2 splitter – 1:4 splitter  – 1:8 splitter – 12 splices

+3dBm + [(-.6dB x (8)] + (-.5dB x 13) + (-3.01dB) + (-6.02dB) + (-9.03dB) + [(-.1dB x (12)] =

+3dBm + (-4.8dB) + (-6.5dB) + (-3.01dB) + (-6.02dB) + (-9.03dB) + (-1.2dB) = -27.56dBm

 

Copied from: hxxps://help.ubnt.com/

Losses in optical fiber

SDH/SONET:Alarms Synthesis and Performance Monitoring

SNC/I & SNC/N regarding ITU-T G.841

ALU:

SNCP/I: Sub Network Connection Protection with inherent monitoring.
Switching criteria – Automatic:
SNCP-I:
LOS LOS
LOF LOF
LOP LOP
AU-/TU-AIS

SNCP/N: Sub Network Connection Protection with non intrusive monitoring.
Switching criteria – Automatic:
SNCP-N:
LOS LOS
LOF LOF
LOP LOP
AU-/TU-AIS AU-/TU-AIS
HP-/LP-UNEQ
HP-/LP-E-BER
HP-/LP-DEG
HP-/LP-TIM
B3-/BIP-2-SD

Switching criteria – External commands:
• protection mechanism lock
• forced protection switching
• manual protection switching
• forced switching to the normal channel
• manual switching to the normal channel

Ericsson:

  1. Which criteria is most preferred and why? SNC/I is more popular Because of this option is Default for E/// equip 🙂
  2. Any design changes are required if we are to change SNC- I to SNC-N or vice versa? Nope
  3. Why SNC-I is there by Default?? Because of it’s is more popular :))
  4. Is it possible if one end is /I and another end is /N ? Nope
  5. What is different ?

5-The differences:

The SNCP/I (Inherent) is activated for AU/TU alarms.

HO Alarms: AU-AIS, AU-LOP

LO Alarms: TU-AIS, TU-LOP
The SNCP/N (Non Intrusive) is activated for AU/TU and VC alarms as well.

HO Alarms: AU-AIS, AU-LOP, HO-EXC, HO-DEG, HO-TIM, HO-UNEQ

LO Alarms: TU-AIS, TU-LOP, LO-EXC, LO-DEG, LO-TIM, LO-UNEQ

SNC-P / I (Sub-network Connection Protection with Inherent monitoring)

This protection mechanism uses 1+1 architecture, which means it needs a spare sub-network connection to protect a working sub-network. It is single ended that is both directions of traffic are protected independently. The faults under which SNC-P / I is able to react and protect are those due to hard failures, occurring as equipment failure, optical interface failures and link failures. Radio link short period interruptions initiating Tributary Unit – Alarm Indication Signal (TU AIS) will also cause SNCP-I to protect. SNC-P / I may be implemented on a VC per VC basis allowing a given transmission facility to transport unprotected traffic and protected traffic.

 photo sncI_zpse6957e3c.jpg

SNC-P / N (Sub-network Connection Protection with Non-intrusive Monitoring)

This protection mechanism differs from the previous one, only in the fault conditions under which it is able to protect. SNC-P / N protects against the usual hard failures as described for SNC-P / I but it also protects against failures such as human related activities, operating system mismanagement or mis-provisioning. These types of failures could be originated by a wrong matrix connection or opening of connections. Further, SNC-P / N also protects against soft failures due to degradation of optical interfaces or to errors occurring in a radio link exceeding the predetermined threshold value for maximum acceptable BER.

 photo SNCN_zps1e15aa0e.jpgRef: http://www.itu.int/rec/T-REC-G.841-199810-I/en

T-REC-G.841