In this lecture we want to revisit power for the continuous time domain with a view to expressing it in terms of the frequency spectrum First though we should review the derivation of average power using the complex Fourier series 51 Review of Discr ID: 31507
Download Pdf The PPT/PDF document "Topic EnergyPowerSpectraandCorrelation I..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
5/25.1.1AquickcheckItisworthcheckingthisusingtherelationshipsfoundinLecture1:Cm=8:1 2(AmiBm)form0A0=2form=01 2(Ajmj+iBjmj)form0Forn0thequantitiesarejC0j2=1 2A022jCnj2=21 2(AmiBm)1 2(Am+iBm)=1 2A2n+B2ninagreementwiththeexpressioninLecture1.5.2EnergysignalsvsPowersignalsWhenconsideringsignalsinthecontinuoustimedomain,itisnecessarytodis-tinguishbetween\niteenergysignals",or\energysignals"forshort,and\nitepowersignals".FirstletusbeabsolutelyclearthatAllsignalsf(t)aresuchthatjf(t)j2isapower.Anenergysignalisonewherethetotalenergyisnite:ETot=Z11jf(t)j2dt0ETot1:Itissaidthatf(t)is\squareintegrable".AsETotisnite,dividingbytheinnitedurationindicatesthatenergysignalshavezeroaveragepower.Tosummarizebeforeknowingwhatallthesetermsmean:AnEnergysignalf(t)alwayshasaFouriertransformF(!)alwayshasanenergyspectraldensity(ESD)givenbyEff(!)=jF(!)j2alwayshasanautocorrelationRff()=R11f(t)f(t+)dtalwayshasanESDwhichistheFToftheautocorrelationRff(),Eff(!)alwayshastotalenergyETot=Rff(0)=1 2R11Eff(!)d!alwayshasanESDwhichtransfersasEgg(!)=jH(!)j2Eff(!) 5/4Nowsupposeg(t)=f(t).WeknowthatZ11f(t)ei!tdt=F(!))Z11f(t)e+i!tdt=F(!))Z11f(t)ei!tdt=F(!)Thisis,ofcourse,aquitegeneralresultwhichcouldhavebeenstuckinLecture2,andwhichisworthhighlighting: TheFourierTransformofacomplexconjugateisZ11f(t)ei!tdt=F(!)Takecarewiththe!. Backtotheargument.IntheearlierexpressionwehadZ11f(t)g(t)dt=1 2Z11F(p)G(p)dp)Z11f(t)f(t)dt=1 2Z11F(p)F(p)dpNowpisjustanyparameter,soitispossibletotidytheexpressionbyreplacingitwith!.Thenwearriveatthefollowingimportantresult Parseval'sTheorem:ThetotalenergyinasignalisETot=Z11jf(t)j2dt=1 2Z11jF(!)j2d!=Z11jF(!)j2df NB!Thedf=d!=2,andisnothingtodowiththesignalbeingcalledf(t).5.4TheEnergySpectralDensityIftheintegralgivesthetotalenergy,itmustbethatjF(!)j2istheenergyperHz.Thatis: TheENERGYSpectralDensityofasignalf(t),F(!)isdenedasEff(!)=jF(!)j2 5/65.6CorrelationCorrelationisatoolforanalysingwhetherprocessesconsideredrandomaprioriareinfactrelated.Insignalprocessing,cross-correlationRfgisusedtoassesshowsimilartwodierentsignalsf(t)andg(t)are.Rfgisfoundbymultiplyingonesignal,f(t)say,withtime-shiftedvaluesoftheotherg(t+),thensumminguptheproducts.IntheexampleinFigure5.1thecross-correlationwilllowiftheshift=0,andhighif=2or=5. Figure5.1:Thesignalf(t)wouldhaveahighercross-correlationwithpartsofg(t)thatlooksimilar.Onecanalsoaskhowsimilarasignalistoitself.Self-similarityisdescribedbytheauto-correlationRff,againasumofproductsofthesignalf(t)andacopyofthesignalatashiftedtimef(t+).Anauto-correlationwithahighmagnitudemeansthatthevalueofthesignalf(t)atoneinstantsignalhasastrongbearingonthevalueatthenextinstant.Correlationcanbeusedforbothdeterministicandrandomsignals.WewillexplorerandomprocessesthisinLecture6.Thecross-andauto-correlationscanbederivedforbothniteenergyandnitepowersignals,buttheyhavedierentdimensions(energyandpowerrespectively)anddierinothermoresubtleways.Wecontinuebylookingattheauto-andcross-correlationsofniteenergysignals.5.7TheAuto-correlationofaniteenergysignalTheauto-correlationofaniteenergysignalisdenedasfollows.Weshalldealwithrealsignalsf,sothattheconjugatecanbeomitted. 5/7 Theauto-correlationofasignalf(t)ofniteenergyisdenedRff()=Z11f(t)f(t+)dt=(forrealsignals)Z11f(t)f(t+)dtTheresultisanenergy. Therearetwowaysofenvisagingtheprocess,asshowninFigure5.2.Oneistoshiftacopyofthesignalandmultiplyvertically(sotospeak).Forpositivethisisashifttothe\left".Thisismostusefulwhencalculatinganalytically. Figure5.2:g(t)andg(t+)forapositiveshift.5.7.1Basicpropertiesofauto-correlation1.Symmetry.Theauto-correlationfunctionisanevenfunctionof:Rff()=Rff():Proof:Substitutep=t+intothedenition,andyouwillgetRff()=Z11f(p)f(p)dp:Butpisjustadummyvariable.ReplaceitbytandyourecovertheexpressionforRff().(Infact,insometextsyouwillseetheautocorrelationdenedwithaminussigninfrontofthe.) 5/82.Foranon-zerosignal,Rff(0)0.Proof:Foranynon-zerosignalthereisatleastoneinstantt1forwhichf(t1)6=0,andf(t1)f(t1)0.HenceR11f(t)f(t)dt0.3.Thevalueat=0islargest:Rff(0)Rff().Proof:Consideranypairofrealnumbersa1anda2.As(a1a2)20,weknowthata21+a22a1a2+a2a1.Nowtakethepairsofnumbersatrandomfromthefunctionf(t).Ourresultshowsthatthereisnorearrangement,randomorordered,ofthefunctionvaluesinto(t)thatwouldmakeRf(t)(t)dtRf(t)2dt.Using(t)=f(t+)isanorderedrearrangement,andsoforanyZ11f(t)2dtZ11f(t)f(t+)dt5.8|Applications5.8.1|SynchronisingtoheartbeatsinanECG(DIYsearchandread)5.8.2|ThesearchforExtraTerrestrialIntelligence Figure5.3:ChattyaliensForseveraldecades,theSETIorganizationhavebeenlook-ingforextraterrestrialintelligencebyexaminingtheauto-correlationofsignalsfromradiotelescopes.Oneprojectscanstheskyaroundnearby(200lightyears)sun-likestarschoppingupthebandwidthbetween1-3GHzinto2billionchannelseach1Hzwide.(Itisassumedthatanattempttocommunicatewoulduseasinglefrequency,highlytuned,signal.)Theydeterminetheautocorrelationeachchan-nel'ssignal.Ifthechannelisnoise,onewouldobserveaverylowautocorrelationforallnon-zero.(SeewhitenoiseinLecture6.)Butifthereis,say,arepeatedmessage,onewouldobserveaperiodicriseintheautocorrelation. Figure5.4:Rffat=0isalwayslarge,butwilldroptozeroifthesignalisnoise.Ifthemessagesaligntheautocorrelationwithrise. 5/95.9TheWiener-KhinchinTheoremLetustaketheFouriertransformofthecross-correlationRf(t)g(t+)dt,thenswitchtheorderofintegration,FTZ11f(t)g(t+)dt=Z1=1Z1t=1f(t)g(t+)dtei!d=Z1t=1f(t)Z1=1g(t+)ei!ddtNoticethattisaconstantfortheintegrationwrt(that'showf(t) oatedthroughtheintegralsign).Substitutep=t+intoit,andtheintegralsbecomeseparableFTZ11f(t)g(t+)dt=Z1t=1f(t)Z1p=1g(p)ei!pe+i!tdpdt=Z11f(t)ei!tdtZ11g(p)ei!pdp=F(!)G(!):Ifwespecializethistotheauto-correlation,G(!)getsreplacedbyF(!).Then ForaniteenergysignalTheWiener-KhinchinTheoremasaysthatTheFToftheAuto-CorrelationistheEnergySpectralDensityFT[Rff()]=jF(!)j2=Eff(!) aNorbertWiener(1894-1964)andAleksandrKhinchin(1894-1959) (Thismethodofproofisvalidonlyforniteenergysignals,andrathertrivializestheWiener-Khinchintheorem.Thefundamentalderivationliesinthetheoryofstochasticprocesses.)5.10CorollaryofWiener-KhinchinThiscorollaryjustconrmsaresultobtainedearlier.WehavejustshownthatRff(),Eff(!).ThatisRff()=1 2Z11Eff!)ei!d!whereisusedbyconvention.Nowset=0 5/115.13|ExampleandApplication[Q]Determinethecross-correlationofthesignalsf(t)andg(t)shown. [A]Startbysketchingg(t+)asfunctionoft. f(t)ismadeofsectionswithf=0,f=t 2a,thenf=0.g(t+)ismadeofg=0,g=t a2+ a,g=1,theng=0.Theleft-mostnon-zerocongurationisvalidfor04a+a,sothatFor4a3a:Rfg()=Z11f(t)g(t+)dt=Z4a+0t 2a1dt=(4a+)2 4aFor3a2a:Rfg()=Z11f(t)g(t+)dt=Z3a+0t 2at a2+ adt+Z4a+3a+t 2a1dtFor2aa:Rfg()=Z11f(t)g(t+)dt=Z3a+2a+t 2at a2+ adt+Z2a3a+t 2a1dtFora0:Rfg()=Z11f(t)g(t+)dt=Z2a2a+t 2at a2+ adtWorkingouttheintegralsandndingthemaximumisleftasaDIYexercise. 5/12 Figure5.5:5.13.1ApplicationItisobviousenoughthatcross-correlationisusefulfordetectingoccurencesofa\model"signalf(t)inanothersignalg(t).Thisisa2Dexamplewherethemodelsignalf(x;y)isthebackviewofafootballer,andthetestsignalsg(x;y)areimagesfromamatch.Thecrosscorrelationisshowninthemiddle.5.14Cross-EnergySpectralDensityTheWiener-KhinchinTheoremwasactuallyderivedforthecross-correlation.Itsaidthat TheWiener-KhinchinTheoremshowsthat,foraniteenergysignal,theFToftheCross-CorrelationistheCross-EnergySpectralDensityFT[Rfg()]=F(!)G(!)=Efg(!) 5.15FinitePowerSignalsLetususef(t)=sin!0ttomotivatediscussionaboutnitepowersignals.Allperiodicsignalsarenitepower,inniteenergy,signals.OnecannotevaluateR11jsin!0tj2dt.However,bysketchingthecurveandusingthenotionofself-similarity,onewouldwishthattheauto-correlationispositive,butdecreasing,forsmallbutincreasing;thennegativeasthethecurvesareinanti-phaseanddissimilarinan\organized"way,thenreturntobeingsimilar.Theautocorrelationshouldhavethesameperiodasitsparentfunction,andlargewhen=0|soRffproportionaltocos(!0)wouldseemright.Wedenetheautocorrelationasanaveragepower.Notethatforaperiodic 5/13 Figure5.6:functionthelimitoveralltimeisthesameasthevalueoveraperiodT0Rff()=limT!11 2TZTTsin(!0t)sin(!0(t+))dt!1 2(T0=2)ZT0=2T0=2sin(!0t)sin(!0(t+))dt=!0 2Z=!0=!0sin(!0t)sin(!0(t+))dt=1 2Zsin(p)sin(p+!0))dp=1 2Zsin2(p)cos(!0)+sin(p)cos(p)sin(!0)dp=1 2cos(!0)Foraniteenergysignal,theFourierTransformoftheautocorrelationwastheenergyspectraldensity.Whatistheanalogousresultnow?Inthisexample,FT[Rff]= 2[(!+!0)+(!!0)]Thisisactuallythepowerspectraldensityofsin!0t,denotedSff(!).The-functionsareobviousenough,buttocheckthecoecientletusintegrateoverallfrequencyf:Z11Sff(!)df=Z11 2[(!+!0)+(!!0)]df=Z11 2[(!+!0)+(!!0)]d! 2=1 4[1+1]=1 2: 5/14Thisdoesindeedreturntheaveragepowerinasinewave.WecanuseFourierSeriestoconcludethatthisresultsmustalsoholdforanyperiodicfunction.Itisalsoapplicabletoanyinniteenergy\nonsquare-integrable"function.WewilljustifythisalittlemoreinLecture61.Tonisho,weneedonlystatetheanalogiestotheniteenergyformulae,replacingEnergySpectralDensitywithPowerSpectralDensity,andreplacingTotalEnergywithAveragePower. TheautocorrelationofanitepowersignalisdenedasRff()=limT!11 2TZTTf(t)f(t+)dt: TheautocorrelationfunctionandPowerSpectralDensityareaFourierTransformPairRff(),Sff(!) TheaveragepowerisPAve=Rff(0) ThepowerspectrumtransfersacrossasystemasSgg(!)=jH(!)j2Sff(!)Thisresultisprovedinthenextlecture. 5.16Cross-correlationandpowersignalsTwopowersignalscanbecross-correlated,usingasimilardenition:Rfg()=limT!11 2TZTTf(t)g(t+)dtRfg(),Sfg(!)5.17InputandOutputfromasystemOneverylastthought.Ifoneappliesannitepowersignaltoasystem,itcannotbeconvertedintoaniteenergysignal|orviceversa. 1ToreallynailitwouldrequireustounderstandWiener-Khinchinintoomuchdepth.