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

📄 fsk.mdl

📁 对ASK调制解调进行了仿真,包括程序仿真和模型仿真
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    Block {
      BlockType		      StateSpace
      A			      "1"
      B			      "1"
      C			      "1"
      D			      "1"
      X0		      "0"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialOutput	      "0"
      BufferSize	      "1024"
      FixedBuffer	      off
      TransDelayFeedthrough   off
      PadeOrder		      "0"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "fsk"
    Location		    [286, 86, 988, 417]
    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		      "BPF_1"
      Ports		      [1, 1]
      Position		      [205, 97, 260, 133]
      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		      "BPF_2"
      Ports		      [1, 1]
      Position		      [205, 151, 255, 189]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Bandpass"
      N			      "8"
      Wlo		      "50"
      Whi		      "90"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "LPF_1"
      Ports		      [1, 1]
      Position		      [360, 33, 390, 87]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "8"
      Wlo		      "30"
      Whi		      "80"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "LPF_2"
      Ports		      [1, 1]
      Position		      [360, 151, 390, 209]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "8"
      Wlo		      "30"
      Whi		      "80"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [290, 42, 320, 73]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [2, 1]
      Position		      [305, 162, 335, 193]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator"
      Position		      [425, 107, 455, 138]
      Operator		      ">"
      InputSameDT	      off
      LogicOutDataTypeMode    "Boolean"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [200, 44, 230, 76]
      Floating		      off
      Location		      [46, 136, 975, 770]
      Open		      off
      NumInputPorts	      "4"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-1~-1~-1~-1"
      YMax		      "1~1~1~1"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [2]
      Position		      [290, 106, 320, 139]
      Floating		      off
      Location		      [44, 347, 973, 610]
      Open		      off
      NumInputPorts	      "2"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      YMin		      "-1~-1"
      YMax		      "1~1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [3]
      Position		      [490, 53, 520, 87]
      Floating		      off
      Location		      [6, 464, 976, 755]
      Open		      off
      NumInputPorts	      "3"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-1~-1~-1"
      YMax		      "1~1~1"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [4]
      Position		      [500, 263, 530, 297]
      Floating		      off
      Location		      [165, 272, 895, 762]
      Open		      off
      NumInputPorts	      "4"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-1~-1~-1~-1"
      YMax		      "1~1~1~1"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [415, 245, 435, 265]
      ShowName		      off
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Switch
      Name		      "Switch"
      Position		      [130, 120, 160, 150]
      Criteria		      "u2 > Threshold"
      Threshold		      "0.5"
      InputSameDT	      off
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      TransportDelay
      Name		      "Transport\nDelay"
      Position		      [270, 265, 300, 295]
      DelayTime		      "0.512"
    }
    Block {
      BlockType		      Sin
      Name		      "carrier_1"
      Ports		      [0, 1]
      Position		      [15, 30, 45, 60]
      SineType		      "Time based"
      Frequency		      "100"
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      Sin
      Name		      "carrier_2"
      Ports		      [0, 1]
      Position		      [20, 225, 50, 255]
      SineType		      "Time based"
      Frequency		      "70"
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "signal"
      Ports		      [0, 1]
      Position		      [15, 118, 60, 152]
      PulseType		      "Time based"
      PulseWidth	      "50"
    }
    Line {
      SrcBlock		      "carrier_1"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 80]
	DstBlock		"Switch"
	DstPort			1
      }
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	Points			[0, -15; 195, 0]
	DstBlock		"Product1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "carrier_2"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Points			[0, -95; 10, 0]
	Branch {
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Branch {
	  Points		  [0, -80]
	  DstBlock		  "Scope"
	  DstPort		  3
	}
      }
      Branch {
	Points			[210, 0]
	DstBlock		"Product2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Switch"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, -20]
	Branch {
	  Points		  [0, -40]
	  DstBlock		  "Scope"
	  DstPort		  4
	}
	Branch {
	  DstBlock		  "BPF_1"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 35]
	Branch {
	  DstBlock		  "BPF_2"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 45; 155, 0; 0, 80]
	  DstBlock		  "Scope3"
	  DstPort		  4
	}
      }
    }
    Line {
      SrcBlock		      "BPF_1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Product1"
	DstPort			2
      }
      Branch {
	DstBlock		"Scope1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "BPF_2"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Product2"
	DstPort			1
      }
      Branch {
	DstBlock		"Scope1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      DstBlock		      "LPF_1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product2"
      SrcPort		      1
      DstBlock		      "LPF_2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "LPF_1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	DstBlock		"Relational\nOperator"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "LPF_2"
      SrcPort		      1
      Points		      [0, -50]
      Branch {
	Points			[0, -60]
	DstBlock		"Scope2"
	DstPort			2
      }
      Branch {
	DstBlock		"Relational\nOperator"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Relational\nOperator"
      SrcPort		      1
      Points		      [0, -15]
      Branch {
	Points			[0, -30]
	DstBlock		"Scope2"
	DstPort			3
      }
      Branch {
	Points			[0, 105]
	Branch {
	  Points		  [0, 50]
	  DstBlock		  "Scope3"
	  DstPort		  1
	}
	Branch {
	  Points		  [-60, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "signal"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Switch"
	DstPort			2
      }
      Branch {
	Points			[0, -80]
	DstBlock		"Scope"
	DstPort			2
      }
      Branch {
	Points			[0, 145]
	DstBlock		"Transport\nDelay"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Transport\nDelay"
      SrcPort		      1
      Points		      [95, 0]
      Branch {
	Points			[85, 0]
	DstBlock		"Scope3"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [5, 0; 0, 30]
      DstBlock		      "Scope3"
      DstPort		      3
    }
  }
}

⌨️ 快捷键说明

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