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

📄 cdma2000tr.mdl

📁 CDMA2000的仿真平台,使用MATLAB设计完成
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      sampPerFrame	      "2^15-1"
	      reset		      "off"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Q Product1"
	      Ports		      [2, 1]
	      Position		      [570, 162, 625, 258]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Q Product2"
	      Ports		      [2, 1]
	      Position		      [780, 137, 835, 233]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer"
	      Ports		      [1, 1]
	      Position		      [225, 26, 275, 74]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer1"
	      Ports		      [1, 1]
	      Position		      [225, 211, 275, 259]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [475, 165, 510, 205]
	      SampleTime	      "xSampleTime"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "I branch"
	      Position		      [885, 78, 915, 92]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Q branch"
	      Position		      [890, 178, 920, 192]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "PN Sequence\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Insert Zero"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Insert Zero"
	      SrcPort		      1
	      DstBlock		      "Unbuffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "PN Sequence\nGenerator1"
	      SrcPort		      1
	      DstBlock		      "Insert Zero1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Insert Zero1"
	      SrcPort		      1
	      DstBlock		      "Unbuffer1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer"
	      SrcPort		      1
	      DstBlock		      "PN I Converter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Long Code\nGenerator"
	      SrcPort		      1
	      DstBlock		      "LC Converter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer1"
	      SrcPort		      1
	      DstBlock		      "PN Q Converter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "LC Converter"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[0, 45]
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		DstBlock		"I Product"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "PN I Converter"
	      SrcPort		      1
	      Points		      [40, 0; 0, 10]
	      DstBlock		      "I Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      DstBlock		      "Q Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "PN Q Converter"
	      SrcPort		      1
	      DstBlock		      "Q Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Q Product1"
	      SrcPort		      1
	      DstBlock		      "Conversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Conversion"
	      SrcPort		      1
	      DstBlock		      "Q Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "I Product"
	      SrcPort		      1
	      Points		      [0, 0; 125, 0]
	      Branch {
		DstBlock		"I branch"
		DstPort			1
	      }
	      Branch {
		Points			[0, 75]
		DstBlock		"Q Product2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Q Product2"
	      SrcPort		      1
	      DstBlock		      "Q branch"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [240, 56, 285, 89]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [240, 151, 285, 184]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [240, 241, 285, 274]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [240, 326, 285, 359]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  RealImagToComplex
	  Name			  "Real-Imag to\nComplex"
	  Ports			  [2, 1]
	  Position		  [540, 158, 595, 247]
	  Input			  "Real and imag"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [340, 259, 390, 326]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [340, 73, 380, 142]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Signal"
	  Position		  [740, 228, 770, 242]
	}
	Line {
	  SrcBlock		  "PCH"
	  SrcPort		  1
	  Points		  [140, 0; 0, -20]
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -80]
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "PN Sequence"
	  SrcPort		  1
	  Points		  [40, 0; 0, 25]
	  Branch {
	    Points		    [0, 285]
	    DstBlock		    "Product3"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "PN Sequence"
	  SrcPort		  2
	  Points		  [45, 0; 0, 105]
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Product2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "FCH"
	  SrcPort		  1
	  Points		  [145, 0]
	  Branch {
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain Product4"
	  SrcPort		  1
	  DstBlock		  "Signal"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [15, 0; 0, 15]
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [55, 0; 0, -80]
	  DstBlock		  "Gain Product4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "FIR\nInterpolation"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FIR\nInterpolation1"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "FIR\nInterpolation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  DstBlock		  "FIR\nInterpolation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  DstBlock		  "Gain Product4"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Power Control"
      Ports		      [0, 1]
      Position		      [30, 108, 80, 152]
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('1')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Power Control"
	Location		[39, 319, 506, 473]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [25, 30, 55, 60]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [165, 27, 215, 63]
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  "off"
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [95, 26, 130, 64]
	  SampleTime		  "20e-3/16"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [255, 38, 285, 52]
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Rake Receiver"
      Ports		      [1, 1]
      Position		      [720, 340, 840, 450]
      Orientation	      "left"
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MaskType		      "Rake Receiver"
      MaskDescription	      "Rake receiver is made of 4 different fingers. E"
"ach finger downsamples and decorrelates pilot bits and data using the corresp"
"onding sequence. \n\nPilot bits are then sent to the channel estimator whose "
"output is then used to derotate the received data signal. The demodulated dat"
"a processed by each rake finger is finally coherently combined."
      MaskHelp		      "<p>Rake receiver is made of 4 different fingers"
". Each finger downsamples and decorrelates pilot bits and data using the corr"
"esponding sequence. </p>\n\n<p>Pilot bits are then sent to the channel estima"
"tor whose output is then used to derotate the received data signal. The demod"
"ulated data processed by each rake finger is finally coherently combined.</p>"
      MaskPromptString	      "Reverse Traffic Channel Walsh Length:|Reverse T"
"raffic Channel spreading code index:|PN Sequence Offset (0..512):|Quasi-ortho"
"gonal function index for F-DTCH:|Number of Filter Taps for Channel Estimation"
":|Number of Filter Taps for RRC filters:|Oversampling Factor:|Finger Enables:"
"|Finger Phases (in units of Ticks):"
      MaskStyleString	      "edit,edit,edit,popup(0|1|2|3),edit,edit,edit,ed"
"it,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,"
      MaskVariables	      "walshLength=@1;trChCode=@2;pnOffset=@3;qof_idx="
"@4;numTapsChEst=@5;numTapsRRC=@6;overSampling=@7;fingerEnables=@8;fingerPhase"
"s=@9;"
      MaskInitialization      "%-- Sampling Time (corresponds to SF=64)\nst = "
" walshLength/1.2288e6;\n\n% Setting Parameters\nnumTapsRRC = numTapsRRC - (mo"
"d(numTapsRRC,2));\nrxTicksDelay = numTapsRRC + fingerPhases;\n\n%-- Quasi-ort"
"hogonal Function mask\nqof_sign(1,:) = zeros(1,256);\nqof_sign(2,:) = reshape"
"(de2bi([hex2dec(['7228d7724eebebb1eb4eb1ebd78d8d28278282d81b41be1b411b1bbe7dd"
"8277d']')'],'right-msb')',1,256);\nqof_sign(3,:) = reshape(de2bi([hex2dec(['1"
"14b1e4444e14beeee4be144bbe1b4eedd872d77882d78dd2287d277772d87dd']')'],'right-"

⌨️ 快捷键说明

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