⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wcdmaspreadandmod.mdl

📁 WCDMA model in symulink model in matlab
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Name			  "ChOut"
	  Position		  [200, 40, 220, 60]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "ChIn"
	  SrcPort		  1
	  Points		  [20, 0; 0, 10]
	  DstBlock		  "Multipath+AWGN"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath+AWGN"
	  SrcPort		  1
	  Points		  [20, 0; 0, -10]
	  DstBlock		  "ChOut"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA DL Common \nChannels Generator"
      Ports		      [0, 3]
      Position		      [175, 183, 260, 227]
      SourceBlock	      "wcdmalib/Wcdma BS Transmitter/WCDMA DL Common "
"\nChannels Generator"
      SourceType	      "WCDMA DL Common Channels Generator"
      antenna		      "1"
      numSymbOut	      "numChipsOut/256"
      st		      "1/15e3"
      Port {
	PortNumber		1
	Name			"p-cpich"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"pich"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		3
	Name			"p-ccpch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA DPCH\nIQ Mapping"
      Ports		      [1, 1]
      Position		      [195, 105, 265, 135]
      ShowName		      off
      SourceBlock	      "wcdmalib/Wcdma BS Transmitter/WCDMA DPCH\nIQ Ma"
"pping"
      SourceType	      "WCDMA DPCH Spreading"
      Port {
	PortNumber		1
	Name			"dpch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA OCNS Generator"
      Ports		      [0, 1]
      Position		      [310, 201, 400, 239]
      ShowName		      off
      SourceBlock	      "wcdmalib/WCDMA Sources/WCDMA OCNS Generator"
      SourceType	      "WCDMA OCNS Generator"
      sprdFactor	      "256"
      numSymbOut	      "numChipsOut/256"
      st		      "1/15e3"
      Port {
	PortNumber		1
	Name			"ocns"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA Power\nAdjustment"
      Ports		      [5, 5]
      Position		      [705, 106, 770, 194]
      ShowName		      off
      SourceBlock	      "wcdmalib/Wcdma BS Transmitter/WCDMA Power\nAdju"
"stment"
      SourceType	      "WCDMA Power Adjustment"
      powerVector	      "powerVector"
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA Rake Receiver"
      Ports		      [1, 2]
      Position		      [430, 334, 530, 401]
      FontName		      "Arial"
      SourceBlock	      "wcdmalib/Wcdma UE Receiver/WCDMA Rake Receiver"
      SourceType	      "WCDMA Rake Receiver"
      sprdFactor	      "sprdFactor"
      codeNumber	      "dpchCode"
      scrCode		      "scrCode"
      numTapsChEst	      "numTapsChEst"
      numTapsRRC	      "numTapsRRC"
      overSampling	      "overSampling"
      fingerEnables	      "fingerEnables"
      fingerPhases	      "fingerPhasesTicks"
      numChipsOut	      "numChipsOut"
      st		      "1/15e3"
      Port {
	PortNumber		1
	Name			"dpch\nsymbols"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"chEst"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA SCH \nGenerator"
      Ports		      [0, 1]
      Position		      [445, 210, 535, 250]
      ShowName		      off
      SourceBlock	      "wcdmalib/WCDMA Sources/WCDMA SCH \nGenerator"
      SourceType	      "WCDMA SCH Generator"
      scrGroup		      "scrCode(1)"
      a_sch		      "1"
      Port {
	PortNumber		1
	Name			"sch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA SCH Multiplexer"
      Ports		      [2, 1]
      Position		      [565, 194, 675, 241]
      SourceBlock	      "wcdmalib/Wcdma BS Transmitter/WCDMA SCH Multipl"
"exer"
      SourceType	      "WCDMA SCH Multiplexer"
      numChipsOut	      "numChipsOut"
      Port {
	PortNumber		1
	Name			"p-ccpch/sch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA Scrambling"
      Ports		      [5, 5]
      Position		      [450, 115, 510, 185]
      ShowName		      off
      SourceBlock	      "wcdmalib/Wcdma BS Transmitter/WCDMA Scrambling"
      SourceType	      "WCDMA Scrambling"
      scrCode		      "scrCode"
      numChipsOut	      "numChipsOut"
      Port {
	PortNumber		1
	Name			"dpch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"p-cpich"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		3
	Name			"pich"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		4
	Name			"p-ccpch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		5
	Name			"ocns"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "WCDMA Spreading"
      Ports		      [4, 4]
      Position		      [310, 116, 390, 169]
      ShowName		      off
      SourceBlock	      "wcdmalib/Wcdma BS Transmitter/WCDMA Spreading"
      SourceType	      "WCDMA Spreading"
      sprdFactor	      "sprdFactor"
      dpchCode		      "dpchCode"
      codeVector	      "[0 4 1]"
      numChipsOut	      "numChipsOut"
      Port {
	PortNumber		1
	Name			"dpch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"p-cpich"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		3
	Name			"pich"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		4
	Name			"p-ccpch"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "aInitial Settings"
      Ports		      []
      Position		      [20, 215, 131, 279]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      FontName		      "Arial"
      FontSize		      12
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "WCDMA Initial Settings Demo"
      MaskDescription	      "Use the following mask to select the different "
"parameters for the simulation."
      MaskPromptString	      "Slot Format (0..16):|DPCH Code number (0..Sprea"
"ding Factor -1):|Scrambling Code [Scr Code Grup(0..63) Primary Code(0..7)]:|P"
"ower for [DPCH, P-CPICH, PICH, P-CCPCH, SCH] in dB:|Number of Filter Taps for"
" RRC filters:|Number of Filter Taps for Channel Estimation:|Oversampling Fact"
"or:|SNR (in dB):|Relative delay of Rx signals (in s):|Average Powers of Rx si"
"gnals (in dB):|Number of enable fingers:|Speed of Terminal (in Km/h):"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit,edit,edit,ed"
"it,popup(1|2|3|4),edit"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "|||||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVariables	      "slotFormat=@1;dpchCode=@2;scrCode=@3;powerVecto"
"r=@4;numTapsRRC=@5;numTapsChEst=@6;overSampling=@7;snrdB=@8;fingerPhases=@9;f"
"ingerPowers=@10;fingerEnables=@11;speed=@12;"
      MaskInitialization      "if slotFormat < 2\nnumChipsOut = 512;\nelse\nnu"
"mChipsOut = 256;\nend\n\nslotFormat = slotFormat +1;\nload slotFormatTable;\n"
"% Second Column of SlotFormatTable corresponds to SF\nsprdFactor = slotFormat"
"Table(slotFormat,2);\nnumSymbOut = numChipsOut/sprdFactor;\n% Second Column o"
"f SlotFormatTable corresponds to NumBits\nnumBits = slotFormatTable(slotForma"
"t,3);\n\nfingerEnables = [ones(1,fingerEnables) zeros(1,4-fingerEnables)];\nd"
"opplerFreq = (speed*1e3/3600)*2.1e9/3e8;\nlen = length(fingerPhases);\nfinger"
"PhasesTicks = [fingerPhases zeros(1,4-len)];\nfingerPhasesTicks = round(finge"
"rPhasesTicks*3.84e6*overSampling);\n\n\n% Compute Total Received Delay\nlates"
"tPath = max(fingerPhases);\nfiltDelayChEst = (numTapsChEst-1)/2;\nrxDelayinFr"
"ames = ceil(((numTapsRRC/overSampling)+latestPath)/numChipsOut) + filtDelayCh"
"Est;\nrxDelay = rxDelayinFrames * numSymbOut;\nrxSlotsDelay = ceil(rxDelay*2/"
"numBits);\n\n% Assign Variables to Workspace\nassignin('base','slotFormat',sl"
"otFormat);\nassignin('base','dpchCode',dpchCode);\nassignin('base','sprdFacto"
"r',sprdFactor);\nassignin('base','numBits',numBits);\nassignin('base','scrCod"
"e',scrCode);\nassignin('base','powerVector',powerVector);\nassignin('base','n"
"umTapsChEst',numTapsChEst);\nassignin('base','overSampling',overSampling);\na"
"ssignin('base','snrdB',snrdB);\nassignin('base','fingerEnables',fingerEnables"
");\nassignin('base','fingerPhases',fingerPhases);\nassignin('base','numTapsRR"
"C', numTapsRRC);\nassignin('base','rxDelay',rxDelay);\nassignin('base','rxSlo"
"tsDelay',rxSlotsDelay);\nassignin('base','numChipsOut',numChipsOut);\nassigni"
"n('base','dopplerFreq',dopplerFreq);\nassignin('base','fingerPhasesTicks',fin"
"gerPhasesTicks);\nassignin('base','fingerPowers',fingerPowers);\n\n% Check Pa"
"rameters\nWcdmaSpreadandModCheckParams;"
      MaskDisplay	      "disp('WCDMA Demo:\\nInitial Settings');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "4|123|[63 0]|[-9.8         -10          -15    "
"      -12          -12]|96|21|8|-3|[0 260e-9 521e-9 781e-9]|[0 -3 -6 -9]|4|25"
"0"
      MaskVariableAliases     ",,,,,,,,,,,"
      System {
	Name			"aInitial Settings"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "background1"
      Ports		      []
      Position		      [159, 75, 906, 261]
      BackgroundColor	      "lightBlue"
      ShowName		      off
      FontName		      "Arial"
      FontSize		      9
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"background1"
	Location		[209, 325, 575, 532]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "background2"
      Ports		      []
      Position		      [308, 307, 890, 423]
      BackgroundColor	      "lightBlue"
      ShowName		      off
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"background2"
	Location		[209, 325, 575, 532]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "background3"
      Ports		      []
      Position		      [553, 471, 894, 550]
      BackgroundColor	      "yellow"
      ShowName		      off
      FontName		      "Arial"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"background3"
	Location		[209, 325, 575, 532]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "background4"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -