SIGNALPROCESSING&SIMULATIONNEWSLETTER
TUTORIAL 2 DIFFERENTIAL ENCODING
Oneofthecommondifficultiesincommunicationsengineeringisthatoftenthesametermsareusedtorepresent [Link] usedandunlessyouknowthesedifferences,theycanleadtoconfusion.
DifferentialEncodingIsusedtoprovidepolarityreversalprotection
Bitstreamsgoingthroughthemanycommunicationscircuitsinthechannelcanbeunintentionally [Link] [Link] protectioncodingdoneonabasebandsequencepriortomodulation. ADifferentialCodingsystemconsistsofamodulo2adderoperationasshownbelow. d in=Datasequencein eout=DifferentiallyEncodeddatasequenceout Encoding
Eout=d in+en1 [Link] bit(itcanbe0or1,itdoesntmatter).Theincomingdatasequenceisaddedtothisreferencebitandformsthe [Link] below.
Decoding
[Link] sequence. Therearenowtwopossibilities,[Link] seehowthecircuitdealswitheachofthesetwopossibilities. BitSequenceReceivedCorrectly
BitSequenceReceivedReversed
Ineithercase,bythemagicofbinarynumbers,wewereabletogettheoriginalbitsequenceback. DifferentialEncodingUsedtoprovidephasereference
DifferentialEncodingasinDEBPSKorDPSK)[Link] theconceptisexactlythesame,herethepurposeofDifferentialEncodingistoenocodetheinformationinterms [Link] [Link]. Summary:MainpurposeofDifferentialEncodingistoprotectagainstpolarityreversalsofinputbit [Link] EncodingisalsousedtoprovideawaytodecodeaBPSKsignal,[Link] exactlythesameasdescribedabove. Insoftwaresimulation,[Link] simulationmodelofaDifferentiallyEncodedsequence,[Link],when modelingaDPSKsystem,weneedtoconsideritsimplicationsinceitisessentialtothesystem.