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

📄 proiect3.mdl

📁 This is an analog signal communication simulator, usign frequency modulation. It is designed in MATL
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Butterworth"
	  filttype		  "Lowpass"
	  N			  "50"
	  Wlo			  "3*2*pi"
	  Whi			  "80"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nFilter Design1"
	  Ports			  [1, 1]
	  Position		  [450, 72, 515, 128]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Butterworth"
	  filttype		  "Bandpass"
	  N			  "5"
	  Wlo			  "1.5*2*pi"
	  Whi			  "4.5*2*pi"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [105, 85, 135, 115]
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope2"
	  Ports			  [1]
	  Position		  [670, 84, 700, 116]
	  Location		  [188, 365, 512, 604]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  SaveName		  "ScopeData3"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope2"
	  Ports			  [1]
	  Position		  [725, 170, 760, 220]
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ScopeProperties	  off
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "512"
	  Overlap		  "0"
	  inpFftLenInherit	  on
	  FFTlength		  "512"
	  numAvg		  "2"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "get(0,'defaultfigureposition')"
	  AxisProperties	  on
	  XUnits		  "Hertz"
	  XRange		  "[0...Fs/2]"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  YUnits		  "Magnitude"
	  YMin			  "-5"
	  YMax			  "30"
	  YLabel		  "Magnitude, dB"
	  LineProperties	  off
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold2"
	  Position		  [635, 176, 670, 214]
	  SampleTime		  "0.01"
	}
	Line {
	  SrcBlock		  "s"
	  SrcPort		  1
	  DstBlock		  "Derivative"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Derivative"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Analog\nFilter Design"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold2"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Analog\nFilter Design"
	  SrcPort		  1
	  DstBlock		  "Analog\nFilter Design1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Analog\nFilter Design1"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "Zero-Order\nHold2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Scope2"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Gaussian Noise\nGenerator"
      Ports		      [0, 1]
      Position		      [320, 218, 400, 262]
      FontName		      "Arial"
      SourceBlock	      "commnoisgen2/Gaussian Noise\nGenerator"
      SourceType	      "Gaussian Noise Generator"
      m			      "0"
      d			      "1"
      s			      "0"
      Ts		      "0.1"
      frameBased	      off
      sampPerFrame	      "0.01"
      orient		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Modulator MF"
      Ports		      [0, 1]
      Position		      [220, 100, 260, 160]
      TreatAsAtomicUnit	      off
      System {
	Name			"Modulator MF"
	Location		[80, 181, 964, 548]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"88"
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [25, 25, 55, 55]
	  Value			  "200*pi"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [170, 110, 200, 140]
	  Gain			  "2*pi*1"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [500, 25, 530, 55]
	  Gain			  "10"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [310, 25, 340, 55]
	  UpperSaturationLimit	  "10"
	  LowerSaturationLimit	  "-10"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [1]
	  Position		  [740, 84, 770, 116]
	  Location		  [17, 351, 341, 590]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  SignalGenerator
	  Name			  "Signal\nGenerator"
	  Position		  [25, 110, 55, 140]
	}
	Block {
	  BlockType		  SignalGenerator
	  Name			  "Signal\nGenerator1"
	  Position		  [25, 200, 55, 230]
	  Amplitude		  "0.5"
	  Frequency		  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope1"
	  Ports			  [1]
	  Position		  [785, 140, 820, 190]
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ScopeProperties	  off
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "512"
	  Overlap		  "0"
	  inpFftLenInherit	  on
	  FFTlength		  "512"
	  numAvg		  "2"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "get(0,'defaultfigureposition')"
	  AxisProperties	  on
	  XUnits		  "Hertz"
	  XRange		  "[0...Fs/2]"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  YUnits		  "Magnitude"
	  YMin			  "-5"
	  YMax			  "30"
	  YLabel		  "Magnitude, dB"
	  LineProperties	  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [245, 30, 265, 50]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [110, 115, 130, 135]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "Trigonometric\nFunction"
	  Ports			  [1, 1]
	  Position		  [420, 25, 450, 55]
	  Operator		  "cos"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold1"
	  Position		  [700, 146, 735, 184]
	  SampleTime		  "0.01"
	}
	Block {
	  BlockType		  Outport
	  Name			  "s_MF"
	  Position		  [590, 88, 620, 102]
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  DstBlock		  "Trigonometric\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Trigonometric\nFunction"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold1"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Signal\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Signal\nGenerator1"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [40, 0]
	  Branch {
	    Points		    [75, 0]
	    Branch {
	      Points		      [0, 125]
	      DstBlock		      "Zero-Order\nHold1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [75, 0]
	      DstBlock		      "Scope1"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "s_MF"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [435, 120, 455, 140]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Line {
      SrcBlock		      "Gaussian Noise\nGenerator"
      SrcPort		      1
      Points		      [40, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Modulator MF"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "Demodulator MF"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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