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

📄 dier.mdl

📁 对ASK调制解调进行了仿真,包括程序仿真和模型仿真
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      PulseWidth	      "1"
      PhaseDelay	      "0"
      SampleTime	      "1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      StateSpace
      A			      "1"
      B			      "1"
      C			      "1"
      D			      "1"
      X0		      "0"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "dier"
    Location		    [2, 78, 1022, 717]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design"
      Ports		      [1, 1]
      Position		      [475, 49, 535, 81]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "8"
      Wlo		      "30"
      Whi		      "20"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design1"
      Ports		      [1, 1]
      Position		      [270, 164, 330, 196]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Bandpass"
      N			      "8"
      Wlo		      "80"
      Whi		      "120"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design2"
      Ports		      [1, 1]
      Position		      [275, 234, 335, 266]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Bandpass"
      N			      "8"
      Wlo		      "180"
      Whi		      "220"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design3"
      Ports		      [1, 1]
      Position		      [530, 244, 590, 276]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "8"
      Wlo		      "30"
      Whi		      "20"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [415, 47, 445, 78]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [425, 242, 455, 273]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator"
      Ports		      [0, 1]
      Position		      [45, 83, 90, 117]
      PulseType		      "Time based"
      PulseWidth	      "50"
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator"
      Position		      [645, 177, 675, 208]
      Operator		      ">"
      InputSameDT	      off
      LogicOutDataTypeMode    "Boolean"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [320, 28, 360, 97]
      Floating		      off
      Location		      [-3, 48, 1021, 733]
      Open		      off
      NumInputPorts	      "4"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      YMin		      "-5~-5~-5~-5"
      YMax		      "5~5~5~5"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [2]
      Position		      [425, 171, 455, 204]
      Floating		      off
      Location		      [37, 75, 1002, 650]
      Open		      off
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-5~-5"
      YMax		      "5~5"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [3]
      Position		      [620, 59, 650, 91]
      Floating		      off
      Location		      [-13, 56, 1015, 554]
      Open		      off
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-5~-5~-5"
      YMax		      "5~5~5"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [50, 25, 80, 55]
      SineType		      "Time based"
      Frequency		      "100"
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave1"
      Ports		      [0, 1]
      Position		      [50, 165, 80, 195]
      SineType		      "Time based"
      Frequency		      "200"
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      Switch
      Name		      "Switch"
      Position		      [170, 71, 220, 139]
      Threshold		      "0.5"
      InputSameDT	      off
      SaturateOnIntegerOverflow	off
    }
    Line {
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[55, 0]
	DstBlock		"Switch"
	DstPort			2
      }
      Branch {
	Points			[0, -45]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 45]
	DstBlock		"Switch"
	DstPort			1
      }
      Branch {
	Points			[0, 0]
	Branch {
	  DstBlock		  "Scope"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -25; 285, 0]
	  DstBlock		  "Product"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Switch"
      SrcPort		      1
      Points		      [10, 0; 0, 5]
      Branch {
	Points			[0, 70]
	Branch {
	  DstBlock		  "Analog\nFilter Design1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 70]
	  DstBlock		  "Analog\nFilter Design2"
	  DstPort		  1
	}
      }
      Branch {
	Points			[70, 0]
	DstBlock		"Scope"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "Analog\nFilter Design2"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Product1"
	DstPort			1
      }
      Branch {
	Points			[0, -55]
	DstBlock		"Scope1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Analog\nFilter Design"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	Points			[0, 120]
	DstBlock		"Relational\nOperator"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "Analog\nFilter Design"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      Points		      [40, 0]
      Branch {
	Points			[35, 0; 0, 115; 250, 0]
	DstBlock		"Product1"
	DstPort			2
      }
      Branch {
	Points			[0, -115; 180, 0]
	DstBlock		"Scope"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      DstBlock		      "Analog\nFilter Design3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Analog\nFilter Design1"
      SrcPort		      1
      Points		      [40, 0]
      Branch {
	DstBlock		"Scope1"
	DstPort			1
      }
      Branch {
	Points			[0, -110]
	DstBlock		"Product"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Analog\nFilter Design3"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[10, 0; 0, -60]
	DstBlock		"Relational\nOperator"
	DstPort			2
      }
      Branch {
	Points			[0, -185]
	DstBlock		"Scope2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Relational\nOperator"
      SrcPort		      1
      Points		      [10, 0; 0, -65; -85, 0]
      DstBlock		      "Scope2"
      DstPort		      3
    }
  }
}

⌨️ 快捷键说明

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