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

📄 cpstas_withoutraiscos_hif.mdl

📁 costas 环路 simulink 仿真文件
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain3"
      Position		      [795, 255, 825, 285]
      Orientation	      "up"
      Gain		      "15"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain4"
      Position		      [859, 235, 891, 265]
      Orientation	      "down"
      Gain		      "2900"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Loop Filter"
      Ports		      [1, 1]
      Position		      [545, 350, 635, 390]
      Orientation	      "left"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Loop Filter"
	Location		[6, 82, 1018, 699]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [100, 128, 130, 142]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [2, 1]
	  Position		  [305, 127, 335, 158]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add1"
	  Ports			  [2, 1]
	  Position		  [475, 107, 505, 138]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay"
	  Ports			  [1, 1]
	  Position		  [350, 185, 405, 225]
	  Orientation		  "left"
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "1"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [230, 60, 260, 90]
	  Gain			  "663.5677"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [220, 120, 250, 150]
	  Gain			  "22.7919"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [550, 118, 580, 132]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [90, 0; 0, 40]
	  DstBlock		  "Add1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Add1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Add"
	  SrcPort		  1
	  Points		  [60, 0; 0, -15; 35, 0]
	  Branch {
	    DstBlock		    "Add1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Delay"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Delay"
	  SrcPort		  1
	  Points		  [-65, 0; 0, -55]
	  DstBlock		  "Add"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn1"
      Position		      [645, 279, 685, 301]
      MATLABFcn		      "sign(u)"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [190, 162, 220, 193]
      ShowName		      off
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [200, 222, 230, 253]
      ShowName		      off
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [2, 1]
      Position		      [730, 162, 760, 193]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1]
      Position		      [730, 217, 760, 248]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product4"
      Ports		      [2, 1]
      Position		      [730, 282, 760, 313]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      RealImagToComplex
      Name		      "Real-Imag to\nComplex1"
      Ports		      [2, 1]
      Position		      [420, 180, 455, 240]
      ShowName		      off
      Input		      "Real and imag"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [945, 252, 1005, 458]
      Location		      [1, 45, 1025, 714]
      Open		      off
      NumInputPorts	      "4"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      TimeRange		      "0.7000000000000001"
      YMin		      "-10000~-25~-7e+006~-15500"
      YMax		      "7500~20~6e+006~-10500"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Sine"
      Ports		      [1, 1]
      Position		      [205, 357, 295, 403]
      Orientation	      "left"
      FontName		      "Arial"
      SourceBlock	      "commsynccomp2/Discrete-Time\nVCO"
      SourceType	      "Discrete-Time VCO"
      ShowPortLabels	      on
      Ac		      "1"
      Fc		      "14.57e6"
      Kc		      "1"
      Ph		      "-pi/2+pi/3"
      ts		      "1/14.56e6/4"
    }
    Line {
      SrcBlock		      "BPSK Signal"
      SrcPort		      1
      Points		      [35, 0; 0, -65]
      Branch {
	DstBlock		"Product1"
	DstPort			1
      }
      Branch {
	Points			[0, -60]
	DstBlock		"Product"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Cosine"
      SrcPort		      1
      Points		      [-25, 0]
      DstBlock		      "Product"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sine"
      SrcPort		      1
      Points		      [-15, 0]
      DstBlock		      "Product1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "Discrete Filter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      Points		      [0, 0; 20, 0]
      Branch {
	DstBlock		"Complex to\nReal-Imag"
	DstPort			1
      }
      Branch {
	DstBlock		"Discrete-Time\nScatter Plot\nScope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Real-Imag to\nComplex1"
      SrcPort		      1
      DstBlock		      "Gain1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      DstBlock		      "Add2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Delay1"
      SrcPort		      1
      Points		      [40, 0; 0, -45]
      DstBlock		      "Add2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      2
      Points		      [0, 0; 5, 0]
      Branch {
	Points			[35, 0]
	Branch {
	  Points		  [0, 25]
	  DstBlock		  "Delay3"
	  DstPort		  1
	}
	Branch {
	  Points		  [65, 0; 0, -30]
	  DstBlock		  "Product2"
	  DstPort		  2
	}
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Product4"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      1
      Points		      [0, 0; 20, 0]
      Branch {
	Points			[10, 0; 10, 0]
	Branch {
	  Points		  [75, 0]
	  DstBlock		  "Product3"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -30]
	  DstBlock		  "Delay2"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 90]
	DstBlock		"MATLAB Fcn1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Delay3"
      SrcPort		      1
      DstBlock		      "Product3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Delay2"
      SrcPort		      1
      DstBlock		      "Product2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product2"
      SrcPort		      1
      Points		      [30, 0; 0, 20]
      DstBlock		      "Add3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product3"
      SrcPort		      1
      Points		      [30, 0; 0, -20]
      DstBlock		      "Add3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Add3"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "Gain4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product4"
      SrcPort		      1
      DstBlock		      "Gain3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain3"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[20, 0]
	DstBlock		"Add1"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Gain4"
      SrcPort		      1
      Points		      [0, 0; 0, 15]
      Branch {
	DstBlock		"Add1"
	DstPort			2
      }
      Branch {
	Points			[0, -5]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      DstBlock		      "Discrete Filter1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Add2"
      SrcPort		      1
      Points		      [0, 0; -20, 0]
      Branch {
	DstBlock		"Sine"
	DstPort			1
      }
      Branch {
	Points			[0, -70]
	DstBlock		"Cosine"
	DstPort			1
      }
      Branch {
	Points			[0, 55]
	DstBlock		"Delay1"
	DstPort			1
      }
      Branch {
	Points			[-20, 0; 0, 85; 600, 0; 0, -35]
	DstBlock		"Scope"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "Add1"
      SrcPort		      1
      Points		      [0, 40]
      DstBlock		      "Loop Filter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Discrete Filter"
      SrcPort		      1
      DstBlock		      "Downsample"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Discrete Filter1"
      SrcPort		      1
      DstBlock		      "Downsample1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "MATLAB Fcn1"
      SrcPort		      1
      DstBlock		      "Product4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Loop Filter"
      SrcPort		      1
      Points		      [0, 0; -35, 0]
      Branch {
	Points			[0, 45; 385, 0; 0, -35]
	DstBlock		"Scope"
	DstPort			3
      }
      Branch {
	DstBlock		"Gain"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Downsample"
      SrcPort		      1
      Points		      [5, 0; 0, 15]
      DstBlock		      "Real-Imag to\nComplex1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Downsample1"
      SrcPort		      1
      Points		      [5, 0; 0, -15]
      DstBlock		      "Real-Imag to\nComplex1"
      DstPort		      2
    }
  }
}

⌨️ 快捷键说明

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