SlideShare a Scribd company logo
1 of 1
Significance of Scrambler in SONET/SDH Systems
Just prior to transmission, the entire SONET signal, with the exception of the framing bytes and the section trace byte, is scrambled. Scrambling
randomizes the bit stream is order to provide sufficient 0-->1 and 1-->0 transitions for the receiver to derive a clock with which to receive the digital
information.
Actually every add/drop multiplexer sample incoming bits according to a particular clock frequency. Now this clock frequency is recovered by using
transitions between 1s and 0s in the incoming OC-N signal. Suppose, incoming bit stream contains long strings of all 1s or all 0s. Then clock recovery would
be difficult. So to enable clock recovery at the receiver such long strings of all 1s or 0s are avoided. This is achieved by a process called Scrambling.
Scrambler is designed as shown in the figure given below:-
It is a frame synchronous scrambler of sequence length 127. The generating polynomial is 1+x6
+x7
. The scrambler shall be reset to ‘1111111’ on the most
significant byte following Z0 byte in the Nth STS-1. That bit and all subsequent bits to be scrambled shall be added, modulo 2, to the output from the
x7
position of the scrambler, as shown in Figure above.Example:
The first 127 bits are:
111111100000010000011000010100 011110010001011001110101001111 010000011100010010011011010110
110111101100011010010111011100 0101010
The same operation is used for descrambling. For example, the input data is 000000000001111111111.
00000000001111111111 <-- input data
11111110000001000001 <-- scramble sequence
-------------------- <-- exclusive OR (scramble operation)
11111110001110111110 <-- scrambled data
11111110000001000001 <-- scramble sequence
-------------------- <-- exclusive OR (descramble operation)
00000000001111111111 <-- original data
The framing bytes A1 and A2, Section Trace byte J0 and Section Growth byte Z0 are not scrambled to avoid possibility that bytes in the frame might
duplicate A1/A2 and cause an error in framing. The receiver searches for A1/A2 bits pattern in multiple consecutive frames, allowing the receiver to gain
bit and byte synchronization. Once bit synchronization is gained, everything is done, from there on, on byte boundaries – SONET/SDH is byte synchronous,
not bit synchronous.
An identical operation called descrambling is done at the receiver to retrieve the bits.
Scrambling is performed by XORing the data signal with a pseudo-random bit sequence generated by the scrambler polynomial indicated above. The
scrambler is frame synchronous, which means that it starts every frame in the same state.
Descrambling is performed by the receiver by XORing the received signal with the same pseudo random bit sequence. Note that since the scrambler is
frame synchronous, the receiver must have found the frame alignment before the signal can be descrambled. That is why the frame bytes(A1A2) are not
scrambled.
References:http://www.electrosofts.com/sonet/scrambling.html

More Related Content

Similar to Significance of scrambler in sonet

Seminar on serial communication
Seminar on serial communicationSeminar on serial communication
Seminar on serial communicationSamarth Patel
 
Digital Hierarchy
Digital HierarchyDigital Hierarchy
Digital Hierarchypaul4g
 
Computer network (1)
Computer network (1)Computer network (1)
Computer network (1)NYversity
 
Output drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchesOutput drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchescandy tang
 
Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Ammar Shafiq
 
Datasheet RTC DS1307 untuk waktu yang tepat pada mikrokontroler
Datasheet RTC DS1307 untuk waktu yang tepat pada mikrokontrolerDatasheet RTC DS1307 untuk waktu yang tepat pada mikrokontroler
Datasheet RTC DS1307 untuk waktu yang tepat pada mikrokontrolerMuhammad Kennedy Ginting
 
Hardware combinational
Hardware combinationalHardware combinational
Hardware combinationalDefri Tan
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1Techglyphs
 
Data link layar
Data link layarData link layar
Data link layarjaysans
 
10 Slides to Sonet
10 Slides to Sonet10 Slides to Sonet
10 Slides to Sonetseanraz
 
Lecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistanLecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistanSaba Hanif
 

Similar to Significance of scrambler in sonet (20)

Seminar on serial communication
Seminar on serial communicationSeminar on serial communication
Seminar on serial communication
 
Digital Hierarchy
Digital HierarchyDigital Hierarchy
Digital Hierarchy
 
Ch3 datalink
Ch3 datalinkCh3 datalink
Ch3 datalink
 
Computer network (1)
Computer network (1)Computer network (1)
Computer network (1)
 
Output drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchesOutput drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switches
 
Ch17
Ch17Ch17
Ch17
 
Chapter 17
Chapter 17Chapter 17
Chapter 17
 
Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)
 
Datasheet RTC DS1307 untuk waktu yang tepat pada mikrokontroler
Datasheet RTC DS1307 untuk waktu yang tepat pada mikrokontrolerDatasheet RTC DS1307 untuk waktu yang tepat pada mikrokontroler
Datasheet RTC DS1307 untuk waktu yang tepat pada mikrokontroler
 
Hardware combinational
Hardware combinationalHardware combinational
Hardware combinational
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Data linklayer
Data linklayerData linklayer
Data linklayer
 
Ntdd
NtddNtdd
Ntdd
 
Ntdd
NtddNtdd
Ntdd
 
Data link layar
Data link layarData link layar
Data link layar
 
10 Slides to Sonet
10 Slides to Sonet10 Slides to Sonet
10 Slides to Sonet
 
Clock result
Clock resultClock result
Clock result
 
Lecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistanLecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistan
 
Serial transmission
Serial transmissionSerial transmission
Serial transmission
 
Multipliers in VLSI
Multipliers in VLSIMultipliers in VLSI
Multipliers in VLSI
 

More from MapYourTech

dBm : a mathematical interpretation
dBm : a mathematical interpretationdBm : a mathematical interpretation
dBm : a mathematical interpretationMapYourTech
 
Generic framing protocol
Generic framing protocolGeneric framing protocol
Generic framing protocolMapYourTech
 
Amplifiers -edfa,raman & soa comparision
Amplifiers -edfa,raman & soa comparisionAmplifiers -edfa,raman & soa comparision
Amplifiers -edfa,raman & soa comparisionMapYourTech
 
What is an eye diagram?
What is an eye diagram?What is an eye diagram?
What is an eye diagram?MapYourTech
 
How otn supercedes over sdh?
How otn supercedes over sdh?How otn supercedes over sdh?
How otn supercedes over sdh?MapYourTech
 
Why synchronization is not required in otn?
Why synchronization is not required in otn?Why synchronization is not required in otn?
Why synchronization is not required in otn?MapYourTech
 
Network operation center
Network operation centerNetwork operation center
Network operation centerMapYourTech
 
Channel coding a walkthrough
Channel coding a walkthroughChannel coding a walkthrough
Channel coding a walkthroughMapYourTech
 
Rejuvenating pcm pulse code modulation
Rejuvenating pcm pulse code modulationRejuvenating pcm pulse code modulation
Rejuvenating pcm pulse code modulationMapYourTech
 
Sonet sdh-defects
Sonet sdh-defectsSonet sdh-defects
Sonet sdh-defectsMapYourTech
 
Focusing prbs pseudo random binary sequence
Focusing prbs pseudo random binary sequenceFocusing prbs pseudo random binary sequence
Focusing prbs pseudo random binary sequenceMapYourTech
 
The ethernet frame a walkthrough
The ethernet frame a walkthroughThe ethernet frame a walkthrough
The ethernet frame a walkthroughMapYourTech
 
Pause frames an overview
Pause frames an overviewPause frames an overview
Pause frames an overviewMapYourTech
 
40G 100G gigabit ethernet technology overview
40G 100G gigabit ethernet technology overview40G 100G gigabit ethernet technology overview
40G 100G gigabit ethernet technology overviewMapYourTech
 
Glimpse of carrier ethernet
Glimpse of carrier ethernetGlimpse of carrier ethernet
Glimpse of carrier ethernetMapYourTech
 
Otn maintenance signal interaction
Otn maintenance signal interactionOtn maintenance signal interaction
Otn maintenance signal interactionMapYourTech
 
The optical time domain reflectometer
The optical time domain reflectometerThe optical time domain reflectometer
The optical time domain reflectometerMapYourTech
 
Why no auto negotiation for fiber optic media?
Why no auto negotiation for fiber optic media?Why no auto negotiation for fiber optic media?
Why no auto negotiation for fiber optic media?MapYourTech
 
Why it is good to have orl 30d b for general fiber links?
Why it is good to have orl 30d b for general fiber links?Why it is good to have orl 30d b for general fiber links?
Why it is good to have orl 30d b for general fiber links?MapYourTech
 
What is q factor ?
What is q factor ?What is q factor ?
What is q factor ?MapYourTech
 

More from MapYourTech (20)

dBm : a mathematical interpretation
dBm : a mathematical interpretationdBm : a mathematical interpretation
dBm : a mathematical interpretation
 
Generic framing protocol
Generic framing protocolGeneric framing protocol
Generic framing protocol
 
Amplifiers -edfa,raman & soa comparision
Amplifiers -edfa,raman & soa comparisionAmplifiers -edfa,raman & soa comparision
Amplifiers -edfa,raman & soa comparision
 
What is an eye diagram?
What is an eye diagram?What is an eye diagram?
What is an eye diagram?
 
How otn supercedes over sdh?
How otn supercedes over sdh?How otn supercedes over sdh?
How otn supercedes over sdh?
 
Why synchronization is not required in otn?
Why synchronization is not required in otn?Why synchronization is not required in otn?
Why synchronization is not required in otn?
 
Network operation center
Network operation centerNetwork operation center
Network operation center
 
Channel coding a walkthrough
Channel coding a walkthroughChannel coding a walkthrough
Channel coding a walkthrough
 
Rejuvenating pcm pulse code modulation
Rejuvenating pcm pulse code modulationRejuvenating pcm pulse code modulation
Rejuvenating pcm pulse code modulation
 
Sonet sdh-defects
Sonet sdh-defectsSonet sdh-defects
Sonet sdh-defects
 
Focusing prbs pseudo random binary sequence
Focusing prbs pseudo random binary sequenceFocusing prbs pseudo random binary sequence
Focusing prbs pseudo random binary sequence
 
The ethernet frame a walkthrough
The ethernet frame a walkthroughThe ethernet frame a walkthrough
The ethernet frame a walkthrough
 
Pause frames an overview
Pause frames an overviewPause frames an overview
Pause frames an overview
 
40G 100G gigabit ethernet technology overview
40G 100G gigabit ethernet technology overview40G 100G gigabit ethernet technology overview
40G 100G gigabit ethernet technology overview
 
Glimpse of carrier ethernet
Glimpse of carrier ethernetGlimpse of carrier ethernet
Glimpse of carrier ethernet
 
Otn maintenance signal interaction
Otn maintenance signal interactionOtn maintenance signal interaction
Otn maintenance signal interaction
 
The optical time domain reflectometer
The optical time domain reflectometerThe optical time domain reflectometer
The optical time domain reflectometer
 
Why no auto negotiation for fiber optic media?
Why no auto negotiation for fiber optic media?Why no auto negotiation for fiber optic media?
Why no auto negotiation for fiber optic media?
 
Why it is good to have orl 30d b for general fiber links?
Why it is good to have orl 30d b for general fiber links?Why it is good to have orl 30d b for general fiber links?
Why it is good to have orl 30d b for general fiber links?
 
What is q factor ?
What is q factor ?What is q factor ?
What is q factor ?
 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 

Significance of scrambler in sonet

  • 1. Significance of Scrambler in SONET/SDH Systems Just prior to transmission, the entire SONET signal, with the exception of the framing bytes and the section trace byte, is scrambled. Scrambling randomizes the bit stream is order to provide sufficient 0-->1 and 1-->0 transitions for the receiver to derive a clock with which to receive the digital information. Actually every add/drop multiplexer sample incoming bits according to a particular clock frequency. Now this clock frequency is recovered by using transitions between 1s and 0s in the incoming OC-N signal. Suppose, incoming bit stream contains long strings of all 1s or all 0s. Then clock recovery would be difficult. So to enable clock recovery at the receiver such long strings of all 1s or 0s are avoided. This is achieved by a process called Scrambling. Scrambler is designed as shown in the figure given below:- It is a frame synchronous scrambler of sequence length 127. The generating polynomial is 1+x6 +x7 . The scrambler shall be reset to ‘1111111’ on the most significant byte following Z0 byte in the Nth STS-1. That bit and all subsequent bits to be scrambled shall be added, modulo 2, to the output from the x7 position of the scrambler, as shown in Figure above.Example: The first 127 bits are: 111111100000010000011000010100 011110010001011001110101001111 010000011100010010011011010110 110111101100011010010111011100 0101010 The same operation is used for descrambling. For example, the input data is 000000000001111111111. 00000000001111111111 <-- input data 11111110000001000001 <-- scramble sequence -------------------- <-- exclusive OR (scramble operation) 11111110001110111110 <-- scrambled data 11111110000001000001 <-- scramble sequence -------------------- <-- exclusive OR (descramble operation) 00000000001111111111 <-- original data The framing bytes A1 and A2, Section Trace byte J0 and Section Growth byte Z0 are not scrambled to avoid possibility that bytes in the frame might duplicate A1/A2 and cause an error in framing. The receiver searches for A1/A2 bits pattern in multiple consecutive frames, allowing the receiver to gain bit and byte synchronization. Once bit synchronization is gained, everything is done, from there on, on byte boundaries – SONET/SDH is byte synchronous, not bit synchronous. An identical operation called descrambling is done at the receiver to retrieve the bits. Scrambling is performed by XORing the data signal with a pseudo-random bit sequence generated by the scrambler polynomial indicated above. The scrambler is frame synchronous, which means that it starts every frame in the same state. Descrambling is performed by the receiver by XORing the received signal with the same pseudo random bit sequence. Note that since the scrambler is frame synchronous, the receiver must have found the frame alignment before the signal can be descrambled. That is why the frame bytes(A1A2) are not scrambled. References:http://www.electrosofts.com/sonet/scrambling.html