SlideShare a Scribd company logo
Prepared By:
BIPLAP BHATTARAI
Introduction To Digital Data, Digital Signal
Digital signal is a sequence of discrete, discontinuous voltage pulses.
Each pulse is a signal element.
Binary data are transmitted by encoding the bit stream into signal
elements.
In the simplest case, one bit is represented by one signal element.
- E.g., 1 is represented by a lower voltage level, and 0 is represented by
a higher voltage level
Terminologies
 Unipolar
If all signal elements have the same algebraic sign (all positive or all negative), then the signal
is unipolar.
 Polar
One logic state represented by positive voltage, the other by negative voltage
 Data rate
Rate of data transmission measured in bps: bits per second
 Duration or length of a bit
Time taken for transmitter to emit the bit
 Modulation rate
- Rate at which the signal level changes
- Measured in baud: signal elements per second
Interpreting Signals at the Receiver
 The receiver needs to know
• The timing of each signal element, i.e., when a signal element begins and ends
• signal levels
• These tasks are performed by sampling each element position in the middle of the interval
and comparing the value to a threshold.
 Factors affecting successful interpreting of signals
• Signal-to-noise ratio (SNR)
• Data rate
• Bandwidth
 Another factor that can improve performance:
• Encoding scheme: the mapping from data bits to signal elements
Line Coding
 The process for converting digital data into digital signal is said to be Line
Coding.
 Line Coding Helps Error detection - errors occur during transmission due to
line impairments. Some codes are constructed such that when an error
occurs it can be detected.
 Noise and interference - there are line encoding techniques that make the
transmitted signal “immune” to noise and interference. This means that the
signal cannot be corrupted, it is stronger than error detection.
 Complexity - the more robust and resilient the code, the more complex it is
to implement and the price is often paid in baud rate or required bandwidth.
Uni-polar Encoding
 Unipolar encoding schemes use single voltage level to represent data. In this case, to
represent binary 1, high voltage is transmitted and to represent 0, no voltage is transmitted.
 It is also called Unipolar-Non-return-to-zero, because there is no rest condition i.e. it either
represents 1 or 0.
Polar Encoding
 Polar encoding scheme uses multiple voltage levels to represent binary values. Polar
encodings is available in four types:
 Polar Non-Return to Zero (Polar NRZ)
• It uses two different voltage levels to represent binary values. Generally, positive voltage
represents 1 and negative value represents 0. It is also NRZ because there is no rest
condition.
• NRZ scheme has two variants: NRZ-L and NRZ-I.
 NRZ-L changes voltage level at when a different
bit is encountered whereas NRZ-I changes voltage
when a 1 is encountered.
Polar Encoding
 PolarReturn to Zero (RZ)
• Problem with NRZ is that the receiver cannot conclude when a bit ended and when the next
bit is started, in case when sender and receiver’s clock are not synchronized.
• RZ uses three voltage levels, positive voltage to represent 1, negative voltage to represent 0
and zero voltage for none. Signals change during bits not between bits.
 Manchester
• This encoding scheme is a combination of RZ and NRZ-L. Bit time is divided into two
halves. It transits in the middle of the bit and changes phase when a different bit is
encountered.
 Differential Manchester
• This encoding scheme is a combination of RZ and NRZ-I. It also transit at the middle of the
bit but changes phase only when 1 is encountered.
Bipolar Encoding
 Bipolar encoding uses three voltage levels, positive, negative and zero. Zero
voltage represents binary 0 and bit 1 is represented by altering positive and
negative voltages.
Problems on Uni- Polar Encoding
If you encode a long series of ones using unipolar/on-off signaling,
then the DC component could fully charge a capacitor, resulting in
errors as the signal is brought to zero.
With bi-polar signaling, long series of ones are encoded as
alternating negative and positive voltages, so the average voltage is
zero, which eliminates the DC component issue.
The constant transitions on ones with bipolar signaling also allows
the circuit to be self clocking, which eliminates the need for a separate
clock source.
So Why Not Bi- Polar Encoding ?
Although, the constant transitions on ones with bipolar signaling
also allows the circuit to be self clocking, which eliminates the need
for a separate clock source.
But then you still have issues with runs of zeroes causing a lack of
transitions to clock on. This issue has been dealt with using several
methods.
 And that is Dealt with Scrambling Technique.
Scrambling
Scrambling is a technique used to create a sequence of bits that has the
required self clocking, no low frequencies, no wide bandwidth.
It is implemented at the same time as encoding, the bit stream is created on
the fly.
The best code is one that does not increase the bandwidth for
synchronization and has no DC components.
It replaces ‘unfriendly’ runs of bits with a violation code that is easy to
recognize.
Scrambling Cont..
Use scrambling to replace sequences that would produce constant voltage
these filling sequences must:
• Sequences that would result in a constant voltage are replaced by filling sequences that
will provide sufficient transitions for the receiver’s clock to maintain synchronization.
• Filling sequences must be recognized by receiver and replaced with original data
sequence.
• Filling sequence is the same length as original sequence.
Design goals
• have no dc component
• have no long sequences of zero level line signal
• have no reduction in data rate
• give error detection capability
Alternate Mark Inversion (AMI) used with
scrambling
Scrambling Techniques
 Bipolar With 8-Zeros Substitution
 Based on bipolar-AMI, whose drawback is a long string of zeros may
result in loss of synchronization.
 If octet of all zeros occurs and the last voltage pulse preceding this
octet was positive, encode as 000+-0-+ or 000VB0VB.
 If octet of all zeros occurs and the last voltage pulse preceding this
octet was negative, encode as 000-+0+-
 Causes two violations of AMI code:
• Unlikely to occur as a result of noise
• Receiver recognizes the pattern and interprets the octet as consisting
of all zeros.
A. B8ZS
Two cases of B8ZS scrambling technique
 The main formula for B8ZS is 000VB0VB
Where V
 stands for “violation bit”
 Follows the polarity of previous non-zero bit
B
 stands for “bipolar bit” or “balance bit”
 Inverses the polarity of previous non-zero bit
 High-Density Bipolar-3 Zeros
 Based on bipolar-AMI
 String of four zeros is replaced with sequences containing one or two
pulses.
B. HDB3
Number of Bipolar Pulses since last
substitution
Polarity of
Preceding Pulse
Odd Even
- 000- +00+
+ 000+ -00-
 HDB3 substitutes four consecutive zeros with 000V or B00V
depending on the number of nonzero pulses after the last
substitution.
 If no of non zero pulses is even the substitution is B00V to make total
non zero pulse even.
 If no of non zero pulses is odd the substitution is 000V to make total
non zero pulses even.
 Example 1 of HDB3 encoding
The pattern of bits " 1 0 0 0 0 1 1 0 “
encoded in HDB3 is " + 0 0 0 V - + 0 "
(the corresponding encoding using AMI is " + 0 0 0 0 - + ").
Different situations in HDB3 scrambling technique
Example 2 of HDB3 encoding
The pattern of bits " 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 "
encoded in HDB3 is " + 0 - 0 0 0 V 0 + - B 0 0 V - + B 0 0 V 0 0 "
which is: " + 0 - 0 0 0 - 0 + - + 0 0 + - + - 0 0 - 0 0 "
B8ZS and HDB3
Special Thanks
Mr. Shree Krishna Khadka
KIST College Of Science And Technology
Digital Data, Digital Signal | Scrambling Techniques

More Related Content

What's hot

Line coding presentation
Line coding presentationLine coding presentation
Line coding presentationDibyendu Porey
 
Comparsion of M-Ary psk,fsk,qapsk.pptx
Comparsion of M-Ary psk,fsk,qapsk.pptxComparsion of M-Ary psk,fsk,qapsk.pptx
Comparsion of M-Ary psk,fsk,qapsk.pptxkeshav11845
 
Digital Modulation Techniques ppt
Digital Modulation Techniques pptDigital Modulation Techniques ppt
Digital Modulation Techniques pptPankaj Singh
 
Channel capacity
Channel capacityChannel capacity
Channel capacityPALLAB DAS
 
Eye diagram in Communication
Eye diagram in CommunicationEye diagram in Communication
Eye diagram in CommunicationSivanesh M
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKnaimish12
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog ConverterHossam Zein
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAnas Smarty
 
PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)vishnudharan11
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniquesSathish Kumar
 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code ModulationYeshudas Muttu
 
Amplitude shift keying
Amplitude shift keyingAmplitude shift keying
Amplitude shift keyingSunny Kumar
 
Digital communication systems unit 1
Digital communication systems unit 1Digital communication systems unit 1
Digital communication systems unit 1Anil Nigam
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam pptDANISHAMIN950
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Sudhanshu Srivastava
 
Amplitude shift keying (ask).pptx
Amplitude shift keying (ask).pptxAmplitude shift keying (ask).pptx
Amplitude shift keying (ask).pptxLamisaFaria
 

What's hot (20)

17 SONET/SDH
17 SONET/SDH17 SONET/SDH
17 SONET/SDH
 
Synchronization
SynchronizationSynchronization
Synchronization
 
Line coding presentation
Line coding presentationLine coding presentation
Line coding presentation
 
Comparsion of M-Ary psk,fsk,qapsk.pptx
Comparsion of M-Ary psk,fsk,qapsk.pptxComparsion of M-Ary psk,fsk,qapsk.pptx
Comparsion of M-Ary psk,fsk,qapsk.pptx
 
Digital Modulation Techniques ppt
Digital Modulation Techniques pptDigital Modulation Techniques ppt
Digital Modulation Techniques ppt
 
Channel capacity
Channel capacityChannel capacity
Channel capacity
 
Eye diagram in Communication
Eye diagram in CommunicationEye diagram in Communication
Eye diagram in Communication
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
 
Amplitude shift keying
Amplitude shift keyingAmplitude shift keying
Amplitude shift keying
 
Digital communication systems unit 1
Digital communication systems unit 1Digital communication systems unit 1
Digital communication systems unit 1
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam ppt
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)
 
Amplitude shift keying (ask).pptx
Amplitude shift keying (ask).pptxAmplitude shift keying (ask).pptx
Amplitude shift keying (ask).pptx
 

Similar to Digital Data, Digital Signal | Scrambling Techniques

digital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfdigital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfKiranG731731
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Bhupesh Rawat
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptAbyThomas54
 
CCN
CCNCCN
CCNNICE
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptfaisalahmed441
 
Data Encoding in Data Communication.pptx
Data Encoding in  Data Communication.pptxData Encoding in  Data Communication.pptx
Data Encoding in Data Communication.pptxzulhelmanz
 
Line coding Tec hniques.pptx
Line coding Tec                 hniques.pptxLine coding Tec                 hniques.pptx
Line coding Tec hniques.pptxnaveen088888
 
Lec_CodingSchemes.pptx
Lec_CodingSchemes.pptxLec_CodingSchemes.pptx
Lec_CodingSchemes.pptxslayHoaqin
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingAayush Kumar
 
Ch4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kuraleCh4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kuraleNeha Kurale
 

Similar to Digital Data, Digital Signal | Scrambling Techniques (20)

digital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfdigital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdf
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Lecture 08
Lecture 08Lecture 08
Lecture 08
 
Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Binary to digital encoding tbs 301
Binary to digital encoding tbs 301
 
Encoding Techniques
Encoding TechniquesEncoding Techniques
Encoding Techniques
 
Unit 4
Unit 4Unit 4
Unit 4
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
 
CCN
CCNCCN
CCN
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
 
Data Encoding in Data Communication.pptx
Data Encoding in  Data Communication.pptxData Encoding in  Data Communication.pptx
Data Encoding in Data Communication.pptx
 
Lecture 08
Lecture 08Lecture 08
Lecture 08
 
Line coding Tec hniques.pptx
Line coding Tec                 hniques.pptxLine coding Tec                 hniques.pptx
Line coding Tec hniques.pptx
 
lec5_13.pptx
lec5_13.pptxlec5_13.pptx
lec5_13.pptx
 
Line coding
Line codingLine coding
Line coding
 
Lec_CodingSchemes.pptx
Lec_CodingSchemes.pptxLec_CodingSchemes.pptx
Lec_CodingSchemes.pptx
 
Dcn aasignment
Dcn aasignmentDcn aasignment
Dcn aasignment
 
Lecture 09
Lecture 09Lecture 09
Lecture 09
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shaping
 
Ch4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kuraleCh4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kurale
 
Ch05
Ch05Ch05
Ch05
 

Recently uploaded

KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringDr. Radhey Shyam
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdfKamal Acharya
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdfKamal Acharya
 
Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdfKamal Acharya
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfAyahmorsy
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 
internship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTinternship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTNavyashreeS6
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxkarthikeyanS725446
 
Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdfKamal Acharya
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.MdManikurRahman
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdfKamal Acharya
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfKamal Acharya
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfAbrahamGadissa
 
retail automation billing system ppt.pptx
retail automation billing system ppt.pptxretail automation billing system ppt.pptx
retail automation billing system ppt.pptxfaamieahmd
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGKOUSTAV SARKAR
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2T.D. Shashikala
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDrGurudutt
 
RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4
RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4
RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4T.D. Shashikala
 

Recently uploaded (20)

KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
 
Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdf
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdf
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
internship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTinternship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOT
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptx
 
Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdf
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdf
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
retail automation billing system ppt.pptx
retail automation billing system ppt.pptxretail automation billing system ppt.pptx
retail automation billing system ppt.pptx
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
 
RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4
RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4
RM&IPR M4.pdfResearch Methodolgy & Intellectual Property Rights Series 4
 

Digital Data, Digital Signal | Scrambling Techniques

  • 2. Introduction To Digital Data, Digital Signal Digital signal is a sequence of discrete, discontinuous voltage pulses. Each pulse is a signal element. Binary data are transmitted by encoding the bit stream into signal elements. In the simplest case, one bit is represented by one signal element. - E.g., 1 is represented by a lower voltage level, and 0 is represented by a higher voltage level
  • 3. Terminologies  Unipolar If all signal elements have the same algebraic sign (all positive or all negative), then the signal is unipolar.  Polar One logic state represented by positive voltage, the other by negative voltage  Data rate Rate of data transmission measured in bps: bits per second  Duration or length of a bit Time taken for transmitter to emit the bit  Modulation rate - Rate at which the signal level changes - Measured in baud: signal elements per second
  • 4. Interpreting Signals at the Receiver  The receiver needs to know • The timing of each signal element, i.e., when a signal element begins and ends • signal levels • These tasks are performed by sampling each element position in the middle of the interval and comparing the value to a threshold.  Factors affecting successful interpreting of signals • Signal-to-noise ratio (SNR) • Data rate • Bandwidth  Another factor that can improve performance: • Encoding scheme: the mapping from data bits to signal elements
  • 5. Line Coding  The process for converting digital data into digital signal is said to be Line Coding.  Line Coding Helps Error detection - errors occur during transmission due to line impairments. Some codes are constructed such that when an error occurs it can be detected.  Noise and interference - there are line encoding techniques that make the transmitted signal “immune” to noise and interference. This means that the signal cannot be corrupted, it is stronger than error detection.  Complexity - the more robust and resilient the code, the more complex it is to implement and the price is often paid in baud rate or required bandwidth.
  • 6. Uni-polar Encoding  Unipolar encoding schemes use single voltage level to represent data. In this case, to represent binary 1, high voltage is transmitted and to represent 0, no voltage is transmitted.  It is also called Unipolar-Non-return-to-zero, because there is no rest condition i.e. it either represents 1 or 0.
  • 7. Polar Encoding  Polar encoding scheme uses multiple voltage levels to represent binary values. Polar encodings is available in four types:  Polar Non-Return to Zero (Polar NRZ) • It uses two different voltage levels to represent binary values. Generally, positive voltage represents 1 and negative value represents 0. It is also NRZ because there is no rest condition. • NRZ scheme has two variants: NRZ-L and NRZ-I.  NRZ-L changes voltage level at when a different bit is encountered whereas NRZ-I changes voltage when a 1 is encountered.
  • 8. Polar Encoding  PolarReturn to Zero (RZ) • Problem with NRZ is that the receiver cannot conclude when a bit ended and when the next bit is started, in case when sender and receiver’s clock are not synchronized. • RZ uses three voltage levels, positive voltage to represent 1, negative voltage to represent 0 and zero voltage for none. Signals change during bits not between bits.  Manchester • This encoding scheme is a combination of RZ and NRZ-L. Bit time is divided into two halves. It transits in the middle of the bit and changes phase when a different bit is encountered.  Differential Manchester • This encoding scheme is a combination of RZ and NRZ-I. It also transit at the middle of the bit but changes phase only when 1 is encountered.
  • 9. Bipolar Encoding  Bipolar encoding uses three voltage levels, positive, negative and zero. Zero voltage represents binary 0 and bit 1 is represented by altering positive and negative voltages.
  • 10. Problems on Uni- Polar Encoding If you encode a long series of ones using unipolar/on-off signaling, then the DC component could fully charge a capacitor, resulting in errors as the signal is brought to zero. With bi-polar signaling, long series of ones are encoded as alternating negative and positive voltages, so the average voltage is zero, which eliminates the DC component issue. The constant transitions on ones with bipolar signaling also allows the circuit to be self clocking, which eliminates the need for a separate clock source.
  • 11. So Why Not Bi- Polar Encoding ? Although, the constant transitions on ones with bipolar signaling also allows the circuit to be self clocking, which eliminates the need for a separate clock source. But then you still have issues with runs of zeroes causing a lack of transitions to clock on. This issue has been dealt with using several methods.  And that is Dealt with Scrambling Technique.
  • 12. Scrambling Scrambling is a technique used to create a sequence of bits that has the required self clocking, no low frequencies, no wide bandwidth. It is implemented at the same time as encoding, the bit stream is created on the fly. The best code is one that does not increase the bandwidth for synchronization and has no DC components. It replaces ‘unfriendly’ runs of bits with a violation code that is easy to recognize.
  • 13. Scrambling Cont.. Use scrambling to replace sequences that would produce constant voltage these filling sequences must: • Sequences that would result in a constant voltage are replaced by filling sequences that will provide sufficient transitions for the receiver’s clock to maintain synchronization. • Filling sequences must be recognized by receiver and replaced with original data sequence. • Filling sequence is the same length as original sequence. Design goals • have no dc component • have no long sequences of zero level line signal • have no reduction in data rate • give error detection capability
  • 14. Alternate Mark Inversion (AMI) used with scrambling
  • 15. Scrambling Techniques  Bipolar With 8-Zeros Substitution  Based on bipolar-AMI, whose drawback is a long string of zeros may result in loss of synchronization.  If octet of all zeros occurs and the last voltage pulse preceding this octet was positive, encode as 000+-0-+ or 000VB0VB.  If octet of all zeros occurs and the last voltage pulse preceding this octet was negative, encode as 000-+0+-  Causes two violations of AMI code: • Unlikely to occur as a result of noise • Receiver recognizes the pattern and interprets the octet as consisting of all zeros. A. B8ZS
  • 16. Two cases of B8ZS scrambling technique  The main formula for B8ZS is 000VB0VB Where V  stands for “violation bit”  Follows the polarity of previous non-zero bit B  stands for “bipolar bit” or “balance bit”  Inverses the polarity of previous non-zero bit
  • 17.  High-Density Bipolar-3 Zeros  Based on bipolar-AMI  String of four zeros is replaced with sequences containing one or two pulses. B. HDB3 Number of Bipolar Pulses since last substitution Polarity of Preceding Pulse Odd Even - 000- +00+ + 000+ -00-
  • 18.  HDB3 substitutes four consecutive zeros with 000V or B00V depending on the number of nonzero pulses after the last substitution.  If no of non zero pulses is even the substitution is B00V to make total non zero pulse even.  If no of non zero pulses is odd the substitution is 000V to make total non zero pulses even.  Example 1 of HDB3 encoding The pattern of bits " 1 0 0 0 0 1 1 0 “ encoded in HDB3 is " + 0 0 0 V - + 0 " (the corresponding encoding using AMI is " + 0 0 0 0 - + "). Different situations in HDB3 scrambling technique
  • 19. Example 2 of HDB3 encoding The pattern of bits " 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 " encoded in HDB3 is " + 0 - 0 0 0 V 0 + - B 0 0 V - + B 0 0 V 0 0 " which is: " + 0 - 0 0 0 - 0 + - + 0 0 + - + - 0 0 - 0 0 "
  • 21. Special Thanks Mr. Shree Krishna Khadka KIST College Of Science And Technology