ofdm实现文档.docx

上传人:b****4 文档编号:3773545 上传时间:2022-11-25 格式:DOCX 页数:11 大小:123.74KB
下载 相关 举报
ofdm实现文档.docx_第1页
第1页 / 共11页
ofdm实现文档.docx_第2页
第2页 / 共11页
ofdm实现文档.docx_第3页
第3页 / 共11页
ofdm实现文档.docx_第4页
第4页 / 共11页
ofdm实现文档.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

ofdm实现文档.docx

《ofdm实现文档.docx》由会员分享,可在线阅读,更多相关《ofdm实现文档.docx(11页珍藏版)》请在冰豆网上搜索。

ofdm实现文档.docx

ofdm实现文档

Designoverview

TheOFDMtechnique(OrthogonalFrequencyDivisionMultiplexing)hasbeenusedinthelastyearsinapplicationsthatrequireahugetransmissionratelikeADSLmodem,wirelessnetwork(Wi-Fi802.11),DVB(DigitalVideoBroadcasting)andDAB(DigitalAudioBroadcasting).Inallthesecases,oneneedstoimplementanintegratedcircuit(IC)thatperformsthenecessarychipfunctions.ForprototypingcircuitsFPGAisbetterchoicethanusingASIC(applicationSpecificIntegratedCircuit),CUSTOMorSEMICUSTOM.FPGAimplementationsbecauseavoidthe:

∙Initialcosts;

∙GreatdevelopmenttimeandtheinherentrisksofconventionalASIC.

So,inthisway,thedevelopmentofhighadvancedtechniquesofdigitaldatatransmissionandtheactualFPGAstageofintegrationmakepossiblethebuildingallthecircuitsthatcompoundsadigitalcommunicationsystemsinanuniquechip.

Tomakeuseofthismoderntechnologiesofdatatransmission,itisnecessarythedevelopmentefficienttechniquesofdigitalmodulation.TheOFDMisthebiggestutilizedrecently,principally,becauseofitusetheefficientFFTtodothemodulation.

ThisworkdescribeshowimplementanOFDMmodemonFPGAusingVHDLfora31subcarrier(channels)OFDMsystemusing64pointsradix-4FFTtimedecimation,aCORDICimplementationtoperformthebutterflycalculus,andeachchannelmodulationwillusea4-QAMconstellation.Thesystemisdividedinatransmissionsectionandareceptionsection.

Blockdiagram

Detaileddescription

Introduction

Basically,OFDMtechniqueconsistsofdividingtheflowofentrancedataoverorthogonalchannels.Inthisway,andbasedontheorthogonalityprinciple,theinterferencebetweeneachtransmissionchannelisminimal.Anotheradvantagethatcomesfromthisapproachisrelatedtotheassumptionsaboutthenoiseineachchannel.Overalargeanduniquepassbandchannelitisdifficult(impossibleinfact,inmanysituations)toassumethatthemodelnoiseisAWGN(AdditiveNoiseGaussianNoise).Thatisimportantbecauseifthemodelisknow,anditiscorrect,onecanselectthebestwayoffrequencyequalization.But,inlargepassbandchannels(tenthsofMhz)thenoisemodelisunknownandunpredictable.Thesolutionofdividingauniquechannelinsubchannelssimplifiestheassumptionsofthenoiseovereachsubchanneland,ofcourse,onecansupposeitapproximatelyAWGN.

Ineachoneofthesesubchannels,adigitalmodulationismade,eachonewithasubcarrierthatpresentsdifferentfrequency,inasuchformthatachanneldoesnotintervenewithanotherone,thuskeepingtheorthogonallity.

Thewayofimplementationandtheorthogonallitypropertyofasystemofthistypecanvarysufficiently:

sincebandpassfilterseachfrequencyuntilsophisticatedtechniquesastheuseoftheFFTwithguardinterval,whichistheusedonefortheOFDM.

Inliterature,thistechniquehasbeencalledforsomedesignationsasorthogonallymultiplexedQAM(O-QAM),parallelquadratureAM,andsoone.However,OFDMforwirelessandDMTforsystemswired(likeDSL)arethemostcommondesignationsthatonecanfindinliterature.Asalltheabovetechniquesbasicallyusethesameprinciple,itiscommontorefertothembymeansofagenericname:

MCM(toMulti-CarrierModulation).Inthatway,MCMisthetechniqueinthegeneraldirection,andOFDMisrelatedtotheimplementationoftechniqueMCMusingtheFFT.

Implementation

Mappingtheconstellation

Theencoderoftheconstellationmapsthembitsofthechannelinapointa+jbintheconstellationofthemodulator.Decodingreceivesthatpointandtheremapasthemtransmittedbits.

Encoderoftheconstellation

Itisimportanttonoticethatinthatmappingitisjustmadeaconversionofbitsforthefasorthatacts,howeveritisnotmadeanymodulation,asinthecaseofQAM,becausethatasshown,itisdonebyIFFT.

Itisnecessarytospecifyhowtheconstellationwillbetobemapped,toimplementthatblock.However,independentlyoftheformatoftheconstellation,theblockencodercanbemadethroughaconsultationataconversiontable,implementedbyLUTthatexistsinLCsofFPGAs.

Forinstance,fora4-QAMconstellationinsuchawaythataandbarebinarynumbersof3bits,andareconvertedtocomplementtwo.

Attemptthattheentranceoftheencoderabinarynumberofmbits,andthattheexitgeneratestwobinarynumbers,oneinphase,the,andotherinquadrature,b,whosesizeisdefinedbyIFFT.

Decoderoftheconstellation

Inthereceiver,thepointoftheconstellationtransmitteditcanhavechangedduetothenoisesofthetransmissionchannel,mistakeinthetimeofsamplingofthereceiverandseveralothercauses.

Thereforeitisnecessarytodefineathresholdsothatitcanbemadethedecisiononwhichpointintheconstellationthereceivedsignisacting.Thatisthefunctionofthedecoder.

Forthesystemexemplifiedabovethebit0isconvertedfor010bandthebit1for110b.Inthatcase,thedecoderisimplementedinasimpleway,stickstothemostsignificant(thatindicatesthesign)bittodothedecoding,andgeneratingabinarynumberofmbitsagain.

Forsystemsinthattheconstellationdiagramislargerthan4-PSKitwillbenecessarytheimplementationofmoreadvancedmethods,likeaneuralnetwork.

TheHemetiansymmetry

AfterhavingmappedtheNchannelsitisappliedtheHermetiansymmetrysothatthemodulationcanbemadebyanIFFT.Itisgenerated2N+2channelsinsymmetry.

Inthereceiver,totheendoftheprocessingofFFT,theyaresenttothedecoderonlyNchannels,beingeliminatedthechannelsgeneratedduetoHermetiansymmetry.

TheHermetiansymmetryisimplementedinagreementwith

fork=1,2...,N-1,whereN=N+1.

Forinstance,totransmitN=3channels(d1,d2,d3)N=4,2N=8andk=1,2,3.Applyingintheaboveequationitisobtainedtheresultshowninthefollowingtable.

KnowingthatX0=XN=4=0+j0,isobtainedinagreementwiththeTable2theresultshowninthefollowingequation:

Inthatway,itcanstayX0andXNalwaysinzero.WhileitismadeXN+1evenX2n-isametotheconjugatedofXn-1.

BeingitconjugatedofZ=a+jbthesameofZ*=a-jb,thentodotheoperationofhavingconjugatedheshouldmovethesignoftheimaginarypart,inotherwords,todoasigninversion.Inhardware,theinversionofsignofabinarynumberincomplementtwo.

The(I)FFT

ThemodulationOFDMcanbemadethroughanIDFT.ThefastimplementationofIDFT,IFFT,canbeusedreducingthetimeofprocessingandtheusedhardware.Thedemodulation,inthesameway,canbemadebyDFT,orbetter,byFFT,thatisitefficientimplementation.

FFTcalculatesDFTwithagreatreductionintheamountofoperations,leavingseveralexistentredundanciesinthedirectcalculationofDFT.Thatefficiencyisgottenatthecostofanadditionalsteptoreverse-orderthedatainordertobedeterminedthefinalresult.Thatadditionalstep,sinceimplementedefficiently,theywon'tincreaseinasignificantwaythecomplexitycomputationalofthecalculation.Asresult,FFTisanextremelyefficientalgorithmthatprovidesagoodimplementationinhardware.

ForgreatvaluesofN,thecomputationalefficiencyisgottenbeingbrokenDFTsuccessivelyinsmallercalculations.Thatcanbemadesomuchinthedomainofthetime,asinthedomainofthefrequency,asdiscussedahead.

Decimationintimeandinfrequency

Asmentioned,itispossibletodividetheentranceofFFTsuccessivelygeneratingsmallsequenceinthedomainofthetime,forthatthenamedecimationinthetime,TD.ItisalsopossibletobecomeseparatedthesequenceofexitofFFTsuccessively,insteadofdividingtheentrance.Thatimplementationiscalledofdecimationinthefrequency,FD.ThedecimationcanbeusedsomuchforFFTasforIFFT.

Itispossibletorepeattheprocessuntilreachingthepossiblemaximumlevelofdivision.InthatpointthebasicblockdecimationisgeneratedsoitwillbeusedinthewholeFFT(calledbutterfly).AnexampleofthebutterflyoftheFFTradix-2TDisinthefollowingillustration.

 

AnexampleofaFFTradix-2DT,forN=8areshownbelow.Itisnoticedthatisnecessaryanalterationintheentranceofdata,becausehe/shehastoseparatetheequalpartoftheoddpart.

Inthesamewaythatthedecimationinthetimegeneratesabutterfly,thedecimationinthefrequencygeneratesacorrespondingbutterfly.

Howeverthealterationintheflowofdatawillhavetobedoneintheexit,andnomoreintheentrance.

ImplementationofButterfly

Thesumusedinthebutterflypossessesthesamealgorithm,somuchforFFTasforIFFT.Toavoidoverflowdangerduetosumincomplementtwo,itismadetheextensionofthesigninthebinarynumber,repeatingthemostsignificantbit,likethistotheifitadds2binarynumbersof10bits,wewillhaveoffirsttodotheextensionofthesign,obtaininglikethis,twonumbersof11bits,todothesum,wheretheresultwillalsobeof11bits.Thatprocedurehastobedoneeverytimethatwilladdortosubtractanumber.

Alreadyforthemultiplication,theexithastobeofthesizeofthesumofthenumberofbitsofthetwomultiplicands.Inthatway,todothemultiplicationoftwonumbersof10bits,wewillhavetoanexitof20bits.Thatprocedurehastobedonetoeachmultiplication.

Ifthereisnotimpediment,itcanbemadearotationforright(divisionsfortwo)inthenumbersandtoreduceitssize,sinceintheendoftheprocedureacorrespondingmultiplierisapplied.

Theorderasitwillbemadethebutterflyisdefinedbythedecimationoftheradix.IfitgoesTD,firstitismademultiplicationandlaterthesum.IfitgoesFD,firstit

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1