Skip to main content
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Articles
lp_course
lp_lesson
Back
HomeFreeSignificance of Scrambler in SONET/SDH Systems

Significance of Scrambler in SONET/SDH Systems

Last Updated: August 16, 2025
2 min read
123

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.

Significance of Scrambler in SONET/SDH Systems - Image 1

 

 

Significance of Scrambler in SONET/SDH Systems - Image 2Significance of Scrambler in SONET/SDH Systems - Image 3

 

 

 

 

 

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:-

Significance of Scrambler in SONET/SDH Systems - Image 4

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

Sanjay Yadav

Optical Communications & Network Automation Expert | Author of 3 Books for Optical Engineers | Founder, MapYourTech

Optical networking engineer with nearly two decades of experience across DWDM, OTN, coherent optics, submarine systems, and cloud infrastructure. Founder of MapYourTech.

Follow on LinkedIn
Share:

Leave A Reply

You May Also Like

25 min read 20 0 Like SDN Controller vs NMS in Optical Networks: The Control-Management Split Optical SDN · Control...
  • Free
  • June 24, 2026
11 min read 23 0 Like Efficient Optical Network Architectures for DCI Skip to main content MapYourTech | InDepth Series...
  • Free
  • June 23, 2026
22 min read 59 0 Like NeoClouds: An Introduction for Optical Engineers Skip to main content MapYourTech | MapYourBasics Series...
  • Free
  • June 16, 2026

Course Title

Course description and key highlights

Course Content

Course Details